Order API and Service charge ?

SylvainSylvain Member Posts: 1

Hello,


We have a small question about the order API returned values (/op/1/order/table/{tableNumber}/getCheck). Our objective is to send back the proper service charge rate (and amount) to our client.


On one of our test restaurant (18580028522498) we saw that:

  • unitAmount: unit price including VAT and service charge
  • amountWithTax: price with VAT (without service charge)
  • amountLessTax: price without any tax (VAT or service charge)


The amountWithTax didn't include service charge so we could deduce it using the order currentAmount.


But for another restaurant, locationId (42991763639501), the amountWithTax does contain the service charge.


Is this some kind of configuration ? Is there another simpler way to retrieve the service charge rate and amount (before the order is closed) ?


Thanks,


Sylvain

Answers

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 196 moderator

    This question is discussed in a ticket.

    Short answer: how the data will be shown depends on the VAT that is set on the Accounting Group of the created item "Service Charge".

Sign In or Register to comment.