cancel
Showing results for 
Search instead for 
Did you mean: 

Reduce Invoices Tip Amount from Net Amount in the Cash Desk Closing Template

npinzon
Participant
0 Kudos

Dear all,

This time I’m regarding to try to figure out how to manage sales prices without the tip amount included, because we have to fulfil some requirements that our country's Tax governmental entity requires from the Cash Desk Closing print report.

We must list in the template for each transaction the Invoice number (externalID), the net amount and the tax amount; we could deal with that information taking the NetAmount from the receipts, but in that information the tip amount is included, which is a wrong amount as the tip isn’t a sale amount for the company but something to give away to the waitress people; so as we detected that, we try to reduce the tip amount from net amount price for each invoice included in the cash desk closing print template but we face that the value that most be found in cashDeskClosing.receipts.tip is not being a valid field for this template even if this is the path showed in the structure help of the print template; I have no idea why only with that field the template can reach it, as we have already managed to list the net amount and the task amount of very invoice included in the cash desk closing.

Have you ever tried to manage tip information in this print template, if so, how did you got it?

Thanks in advance

Nasmiye PR.

Accepted Solutions (0)

Answers (1)

Answers (1)

Hello Nasmiye,

In the CCO, there are available two tip modes:

1 - Record Tips:
When using tracked tip, we will include the tip in the receipt amounts. Which also includes the receipt net amount. This means it will also be part of the expected cash amounts and so on.

2 - Do not record Tips:
When using untracked tip, we do not count the tip directly. Instead the tip amount can be entered during the day-end closing where it will be subtracted from the expected amount.

If the tip mode is "Record tip", one possibility is to search through the salesitem. Find the salesitem with typecode 14. This salesitem contains the tip amount.

Below, you can find an example:

<#list cashDeskClosing.receipts as oReceipts>
<#list oReceipts.salesItems as salesItem>
<#if salesItem.typeCode="14">
<#assign receiptAmount>${(oReceipts.paymentNetAmount)-(salesItem.grossAmount)}</#assign>
</#if>
</#list>
</#list>

If your question in answered, kindly select the answer as "Right Answer". This helps other member of the community to follow and easily locate answers.

Thank you.
Regards,
Anderson