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: Cash reconciliation

Cash register: Cash reconciliation

This webhook can be used to send data when a cash register is closed and the cash reconciliation is settled.

The webhook runs once each time a cash register is closed.

The webhook is added to a queue that is processed every 5 minutes. It can therefore take up to about 5 minutes before the webhook is sent.

Example of JSON that can be sent:


		{
"cashRegisterId": [cashRegisterId],
"cashRegisterName": "[cashRegisterName]",
"cashRegisterStatementId": [cashRegisterStatementId],
"cashRegisterStatementPeriod": {
"from": "[cashRegisterStatementPeriodFrom]",
"to": "[cashRegisterStatementPeriodTo]"
},
"salesTotalProducts": "[salesTotalProducts]",
"salesTotalServices": "[salesTotalServices]",
"cashRegisterClosedBy": "[cashRegisterClosedBy]",
"cashRegisterClosedNote": "[cashRegisterClosedNote]",
"cashRegisterBalancePrimo": "[cashRegisterBalancePrimo]",
"cashRegisterOpenedDifference": "[cashRegisterOpenedDifference]",
"cashRegisterBalanceUltimo": "[cashRegisterBalanceUltimo]",
"cashRegisterClosedDifference": "[cashRegisterClosedDifference]",
"itemGroups": [
[itemGroup_begin]
{
"itemGroupId": [itemGroupId],
"itemGroupName": "[itemGroupName]",
"itemGroupDebet": "[itemGroupDebet]",
"itemGroupKredit": "[itemGroupKredit]",
"itemGroupVat": "[itemGroupVat]",
"itemGroupCurrency": "[itemGroupCurrency]"
}[lineBreak]
[itemGroup_end]
],
"paymentTypes": [
[paymentType_begin]
{
"paymentTypeId": [paymentTypeId],
"paymentTypeName": "[paymentTypeName]",
"paymentTypeDebet": "[paymentTypeDebet]",
"paymentTypeKredit": "[paymentTypeKredit]",
"paymentTypeVat": "[paymentTypeVat]",
"paymentTypeCurrency": "[paymentTypeCurrency]"
}[lineBreak]
[paymentType_end]
],
"onlinePaymentTypes": [
[onlinePaymentType_begin]
{
"onlinePaymentTypeId": [onlinePaymentTypeId],
"onlinePaymentTypeName": "[onlinePaymentTypeName]",
"onlinePaymentTypeDebet": "[onlinePaymentTypeDebet]",
"onlinePaymentTypeKredit": "[onlinePaymentTypeKredit]",
"onlinePaymentTypeVat": "[onlinePaymentTypeVat]",
"onlinePaymentTypeCurrency": "[onlinePaymentTypeCurrency]"
}[lineBreak]
[onlinePaymentType_end]
],
"variousValues": [
[various_begin]
{
"variousTypeName": "[variousTypeName]",
"variousDebet": "[variousDebet]",
"variousKredit": "[variousKredit]",
"variousVat": "[variousVat]"
}[lineBreak]
[various_end]
]
}

The replacement codes in the example above will be replaced with the following data when the specific webhook runs. Amounts are formatted with 2 decimals (for example 40,000.00), except debit, credit and VAT in the blocks, which are shown without formatting:

  • [cashRegisterId] is replaced with the unique Id of the cash register that was closed.
  • [cashRegisterName] is replaced with the name of the cash register that was closed.
  • [cashRegisterStatementId] is replaced with the unique Id of the cash reconciliation.
  • [cashRegisterStatementPeriodFrom] is replaced with the start of the period the cash reconciliation covers, in the format DD/MM-YYYY HH:MM:SS.
  • [cashRegisterStatementPeriodTo] is replaced with the end of the period the cash reconciliation covers, in the format DD/MM-YYYY HH:MM:SS.
  • [salesTotalProducts] is replaced with the total value of the order lines for items not marked as 'Service', on all receipts in the cash reconciliation, including debtor receipts. Lines with the quantity 0 are not included.
  • [salesTotalServices] is replaced with the total value of the order lines for items marked as 'Service', on all receipts in the cash reconciliation, including debtor receipts. Lines with the quantity 0 are not included.
  • [cashRegisterClosedBy] is replaced with the name entered when the cash register was closed. Empty if nothing was entered.
  • [cashRegisterClosedNote] is replaced with the note entered when the cash register was closed. Empty if nothing was entered.
  • [cashRegisterBalancePrimo] is replaced with the cash amount the cash register was opened with.
  • [cashRegisterOpenedDifference] is replaced with the difference the cash register was opened with, compared to what it was last closed with.
  • [cashRegisterBalanceUltimo] is replaced with the counted cash amount the cash register was closed with.
  • [cashRegisterClosedDifference] is replaced with the difference the cash register was closed with, compared to what it was opened with.
  • [itemGroup_begin] [lineBreak] [itemGroup_end] is repeated for each item group. The same item group can appear twice, once with VAT and once without VAT. Items without an item group are shown as item group 0 with the text "Ingen varegruppe valgt" (no item group selected). Item groups without an amount are not included. The following replacement codes can be used in between:
    • [itemGroupId] is replaced with the item group's unique Id.
    • [itemGroupName] is replaced with the item group's name.
    • [itemGroupDebet] is replaced with the item group's debit amount (refunds).
    • [itemGroupKredit] is replaced with the item group's credit amount (sales).
    • [itemGroupVat] is replaced with the item group's VAT.
    • [itemGroupCurrency] is replaced with the currency, for example DKK.
  • [paymentType_begin] [lineBreak] [paymentType_end] is repeated for each payment type. Cash is shown as payment type 1. The following replacement codes can be used in between:
    • [paymentTypeId] is replaced with the payment type's unique Id.
    • [paymentTypeName] is replaced with the payment type's name.
    • [paymentTypeDebet] is replaced with the payment type's debit amount (received payments).
    • [paymentTypeKredit] is replaced with the payment type's credit amount.
    • [paymentTypeVat] is replaced with the payment type's VAT.
    • [paymentTypeCurrency] is replaced with the currency, for example DKK.
  • [onlinePaymentType_begin] [lineBreak] [onlinePaymentType_end] is repeated for each online payment type. Empty if there are none. The following replacement codes can be used in between:
    • [onlinePaymentTypeId] is replaced with the online payment type's unique Id.
    • [onlinePaymentTypeName] is replaced with the online payment type's name.
    • [onlinePaymentTypeDebet] is replaced with the online payment type's debit amount.
    • [onlinePaymentTypeKredit] is replaced with the online payment type's credit amount.
    • [onlinePaymentTypeVat] is replaced with the online payment type's VAT.
    • [onlinePaymentTypeCurrency] is replaced with the currency, for example DKK.
  • [various_begin] [lineBreak] [various_end] is repeated for each of the various lines in the cash reconciliation. Lines without an amount are not included. The following replacement codes can be used in between:
    • [variousTypeName] is replaced with the line's type, one of: cashRegisterStatementTransferedToBank (transferred to bank), cashRegisterStatementRoundings (today's rounding), cashRegisterStatementInvoices (today's invoices), cashRegisterStatementOutlayUltimo (outlay), cashRegisterStatementSalesDebtor (sales on debtor), cashRegisterStatementSalesGiftvouchers (sales of gift vouchers), cashRegisterStatementSalesPrepayments (sales of prepayments), cashRegisterStatementSalesMultipass (sales of multipasses) or cashRegisterStatementDiff (cash difference).
    • [variousDebet] is replaced with the line's debit amount.
    • [variousKredit] is replaced with the line's credit amount.
    • [variousVat] is replaced with the line's VAT.

 


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