Any questions

We are happy to help!

Question about Gecko Booking?

If you are unsure whether Gecko Booking is right for you, or if you have other questions, we would love to hear from you!

All good!
Please enter your name.
All good!
Please enter your email.
All good!
All good!
Please enter your question.

Fields marked with an * are required


Guides

Trin for trin-vejledninger til opsætning og brug af systemet.

Guides - Cash register: Revenue

Cash register: Revenue

This webhook can be used to receive revenue figures from the different cash registers every day.

The webhook runs every day at a time of your choice, which is entered in steps of 5 minutes. In the settings you choose whether the revenue should apply to today or yesterday, and which cash registers to include (all or selected ones, optionally also adhoc). If adhoc purchases are included, they appear as id 0 in cashregisterid.

Example of JSON that can be sent in this webhook:


		{
"cashRegistersWithRevenue": [
[each_cashRegister_begin]{
"cashregisterid": "[cashregisterid]",
"totalInclVat": "[TOTALINCLVAT]",
"totalExVat": "[TOTALEXVAT]"
}[lineBreak][each_cashRegister_end]
]
}

The replacement codes [cashregisterid], [TOTALINCLVAT] and [TOTALEXVAT] must be written exactly as in the example, with the same uppercase and lowercase letters. [lineBreak] and the block markers are not case sensitive.


The replacement codes in the example above will be replaced with the following data when the specific webhook runs:

  • [each_cashRegister_begin] [lineBreak] [each_cashRegister_end] is repeated for each cash register that has revenue in the period. Cash registers without revenue are not included. [lineBreak] gives a comma between the cash registers. The following replacement codes can be used in between:
    • [cashregisterid] is replaced with the unique Id of the cash register. Adhoc purchases have Id 0.
    • [TOTALINCLVAT] is replaced with the cash register's revenue including VAT.
    • [TOTALEXVAT] is replaced with the cash register's revenue excluding VAT.
  • [TOTALINCLVAT] and [TOTALEXVAT] can also be used outside the block, where they are replaced with the total revenue for all the selected cash registers including and excluding VAT.

Amounts are formatted with 2 decimals, for example 1,234.50. The revenue is the sum of the order lines on the receipts with a receipt date in the selected period. Debtor payments, prepayments and invoice splits are not included.


In addition to the above, you can also use replacement codes from the following category to build your own:


 


Try a Free and Non-Binding Demo of Gecko Booking & Administration

Fill out the form, and you will receive a demo as soon as possible.

All good!
Please enter the company name.
All good!
Please enter your phone number.
All good!
Please enter your name.

Fields marked with an * are required