How to add two tax models: 13% and 23% and have then printed on tickets

Hey Wizards,
I need you help on how to setup taxes for my pizza sales tickets.
How to add two tax models: 13% and 23% and have then printed on tickets?

Thank you very much!

This article in the knowledge base will get you going:

https://kb.sambapos.com/en/2-3-9-how-to-add-tax-vat/

Thank you very much for your help!

I could follow and just did as mentioned. Unfortunetely I can see the taxes on the ticket when I preview. Here is my print template:

[LAYOUT]
– General layout
Bella & Brava
071 930 6727
Date:{TICKET DATE}
Time:{TIME}
{ENTITIES}
Ticket No:{TICKET NO}
-
{ORDERS}
=

{DISCOUNTS}
[Total Gift:|{ORDER STATE TOTAL:Gift}]
{SERVICES}
Total:|{TICKET TOTAL}
{PAYMENTS}

=
T H A N K Y O U

[DISCOUNTS]
{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
{TAXES}
[SERVICES]
{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS]
{PAYMENT NAME}|{PAYMENT AMOUNT}

[ORDERS]
– Default format for orders
- {QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

[ORDERS:Gift]
– Format for gifted orders
- {QUANTITY} {NAME}|GIFT
{ORDER TAGS}

[ORDERS:Void]
– Nothing will print for void lines

[ORDER TAGS]
– Format for order tags
* {ORDER TAG NAME} | {ORDER TAG PRICE}

[ENTITIES:Table]
– Table entity format
Table: {ENTITY NAME}

[ENTITIES:Customer]
– Customer entity format
Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

[TAXES]
Tax Name: {TAX NAME}
Tax Amount: {TAX AMOUNT}
Taxable Amount: {TAXABLE AMOUNT}

How can I center the restaurant name and have phone number in a smaller font?

Thank you!

Change [Taxes] to {TAXES} and see if that helps

Sorry im not following. Im using this in the end of code:

[TAXES]
Tax Name: {TAX NAME}
Tax Amount: {TAX AMOUNT}
Taxable Amount: {TAXABLE AMOUNT}

Is there anywhere else to use the code?

Im sorry im a beginner and having my first steps here.

Thanks for your help

No need to apologize, man! We all are beginners at one point or another. I’m still learning, too.

{TAXES}
Tax Name: {TAX NAME}
Tax Amount: {TAX AMOUNT}
Taxable Amount: {TAXABLE AMOUNT}

Use the braces around TAXES instead of brackets

I have another question:

I need to send the accountant a report and he ask me to have the taxes on the reports. How to use that way?

The default work period report should have all your taxes listed. You an adjust the dates of the report for the range you need to have for your accountant.

Sorry, I was wrong. Disregard my last post about the braces.

I moved {TAXES} so they should now show/print:

[LAYOUT]
-- General layout
<C>Bella & Brava
<C>071 930 6727
<L00>
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>Ticket No.:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
{TAXES}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
{SERVICES}
<J10>Total:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>T H A N K   Y O U

[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[SERVICES]
<J00>{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}

[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

[ORDERS:Gift]
-- Format for gifted orders
<J00>- {QUANTITY} {NAME}|**GIFT**
{ORDER TAGS}

[ORDERS:Void]
-- Nothing will print for void lines

[ORDER TAGS]
-- Format for order tags
<J00> * {ORDER TAG NAME} | {ORDER TAG PRICE}

[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

[TAXES]
<J00>Tax Name: {TAX NAME}
<J00>Tax Amount: {TAX AMOUNT}
<J00>Taxable Amount: {TAXABLE AMOUNT}

Alternatively, you could have the tax information all on one line for easier readability:

[TAXES]
<J00>{TAX NAME} on {TAXABLE AMOUNT} | {TAX AMOUNT}

or

[TAXES]
<J00>{TAX NAME} | {TAX AMOUNT}

if you just wanted the tax name and the amount

Edited to include formatting from default ticket template.

1 Like

It worked!

Thank you very much for your help. Im a brazilian but can’t Samba that well yet :joy:. Have a good one!

2 Likes