I was wondering if anybody here can help me in implementing senior citizen discount. Here in the Philippines we are mandated to give out discounts to senior citizens. It involves calculations which i cannot figure out how. I am attaching a mock screen reflecting the calculations I need to properly implement this feature in my pos.

Here is how my screen should look like.

Here are also the formulas that i used to come up with my calculations.

Senior Citizens Discount is VAT Exempted here in the Philippines. For example, 1 senior citizen dined in and total bill is 112 vat inclusive. We take out first the vat before applying the 20% discount which is

My menu prices is inclusive of 12% VAT. Senior Citizens Discount is given proportionately. In my mock screen I have total of 3 guests and 1 of them is a senior citizen. So senior citizen discount only applies to the 1/3 of the total bill which is 200. And since 200 is still VAT inclusive I still have to take out the 12% VAT out of 200 before giving out 20% discount. This is how we do it in the Philippines.

Those number that i have shown on my calculations are just constants derived from the simplification of the original formula.

In my mock screen, if there are no senior citizen present, the calculation will be:

If there are no senior citizen then VAT Sales + VAT Exempted Sales + 12% VAT = TICKET TOTAL, However, if there are senior citizens present then VAT Sales + VExemptedS + 12VAT < TICKET TOTAL which is correct.

I have already setup my calculations. I just cant figure out how to show calculation without affecting the ticket total. As you can see here on the attached image… VAT Sales is being calculated properly because that is the first calculation. The succeeding calculations doesnt give me the correct amount because after the first calculation has been made… TICKET TOTAL is already changed. I dont know which option to select (ie, include tax, decrease amount, use plain sum, or toggle).

Yes VAT Sales = 357.14… this is the VATable Sales (VAT Sales is just my shortcut name for Vatable Sales, im sorry if i had you confused)…and is subject for 12% vat. If you add the VAT Sales + 12% VAT… = 400.

For simplicity… if all guests are not senior citizens… I will just show the VAT Sales and the 12% VAT. but if there are senior citizen guests then I will have to show all the computations (ie, vat sales, vat exempt sales, 12% vat and the senior citizen discount). Also if all the guests are senior citizens, I will just need to show the vat exempt sales and the senior citizen discount.

I just cant figure out how to show the breakdown using calculations. Is there anyway this can be done without using calculations? Because the Bureau of Internal Revenue here in my country (IRS in the US) requires that this breakdown be shown so we could have accreditation for the POS, by having an accreditation we can issue the ticket being printed as an official receipt.

I would really appreciate if you could point me in the right direction on how to do this.

I put it all as tag which calculates correctly. I can make all the necessary account documents for vat sales, vat exempt sales, 12%vat and senior citizen and make them all appear on the ticket using my printer template. The only problem now would be how to reflect the correct balance on the ticket.

as in the attached image… the correct balance should be 542.86. I can also make the correct balance appear on my printed ticket using my formula but definitely cannot settle the ticket with incorrect balance when there are senior citizens discount.

What if you use the Update Ticket Calculation action… pulled amount from your Ticket Tag… could make it a command button… or we could try and figure out a way to make it automatic.

All you would need to do is pull the amount from Senior Citizen Discount Ticket Tag into the calculation.

Few questions… how are you telling it how many senior citizens were part of the ticket?

You would create a Calculation Type select Fixed Price with transaction type to support it.

Create an Update Ticket Calculation action select your calculation use variable [:Senior Discount] for Amount.

Create a rule to handle it you would put [TN=('{TICKET TAG:X}')] for Senior Discount

Be sure your rule executes the action after the ticket tag is generated. Maybe you could set it to execute via command button or if you want to automate it… set it to execute immediately after your ticket tag holding the value is made.

Not sure if it would work but could try it. X being the name you used for Senior Citizen Discount ticket tag

If it works you could tell your ticket template to not print the Senior Discount tag… and print the calculation for that. So you do not see it listed twice on receipt… or if you want it listed twice it really would not matter because it would not affect the actual amount.

I followed ur advise on using combination of ticket tags and calculation for my senior citizen discount and they work beautifully with all the correct calculations and how they appear on the receipt. i really couldnt thank you enough for all your help that you gave me. here are some of my screens…

one question here on the account screen. can i exclude the Sales (highlited) because it messes up the accounting figures. my supposed total sales figure is 2271.42 and if subtract the senior citizen discount then i would arrive correctly with my Cash figure. Is it possible to exclude the Sales? Or did I make wrong accounts?

this is perfect as all the transactions are recorded. the only problem i have with this screen is that it is not linked to the ticket. if i highlite one item and click find ticket… it is not showing up. it would be best if i can be able to open the original ticket for auditing purposes.

could you still spare me some of your knowledge/time? I am really very grateful to you for without you i couldnt even imagine how i could come up with all of these.

thank you very much and hope to hear again from you.

EDIT: if you need a copy of my database, i am very much willing to attach/send it to you. thanks again.

Which account VAT Sales transaction debits? I think it should debit Sales account since you mean to factor sales figures into vat accounts. As you both credit Sales and VAT accounts it seems like multiple transactions.

While crediting an account you should always think which account you should also debit. The total of sales accounts + discounts + cash amount should always be 0.

also how can i make transactions document to link to the original ticket? as i have mentioned on my previous reply, all my transactions document, when i highlight it and click on find ticket… it doesnt show anything. is it possible to link my manually created documents to their original ticket?

You will need to redo the accounting. You were not completely off base but you got some of your directions wrong with where you are placing the transactions. Let me look at your stuff a little and I will try to help you.