Advertisement
Advertisement

LastDraw Command Line Interface (CLI)


On LastDraw we have a CLI for items and a Global CLI.

 

Using the CLI for items, the following commands are available:

DS

TAX

 

DS

DS stands for Differenzbesteuerung (differential taxation).

Just put “DS;;” in the CLI when you insert an Item. This will set the tax for this item to 0% and will add two asterisks on the end of the name of this item on the invoice. 

This will also put two asterisks on the bottom of the invoice where your legal notice should go. This notice has to be specified using the Global CLI in the Shop settings.

 

If you need a different tax than 0% just write “DS;;TAX::your_value;;”

Example: DS;;TAX::7;;

This will set the tax to 7% and mark the item with asterisks on the invoice.

 

TAX

TAX is used to specify a different tax per item than what you set as your global tax.

Just put “TAX::your_value;;” in the CLI when you insert an Item. This will set the tax for this item to your value.

 

This is useful if you list for example a book which is taxed with 7% instead of 19%.

Example: TAX::7;;

This will set the tax to 7%




Using the Global CLI, the following commands are available:

INVFOOTER

DS

 

INVFOOTER

INVFOOTER stands for invoice footer. This will be printed on the bottom of your invoices.

Example: INVFOOTER::Thanks for your purchase;;

This will print “Thanks for your purchase” on the bottom of your invoices.

 

DS

DS stands for Differenzbesteuerung (differential taxation).

Just put “DS::your_legal_notice;;” in the Global CLI to specify what should be printed on your invoices if at least one of the items on the invoice is subject to differential taxation.

 

Example: DS::Here the differential taxation according to § 25a UstG applies.;;

This will print “**Here the differential taxation according to § 25a UstG applies.” on the bottom of your invoices.



Advertisement