Skip to main content
This sync creates one accounting entry per closed day in the accounting software, from the orders and the payments of a POS software.
Data flow: the POS software sends closures, orders and payments to the Chift POS sync. The sync works per closed day and per location. It creates closing entries in the accounting software, with sales, VAT and payments in the journal.

The POS sync reads closures, orders and payments from the POS software and creates closing entries in the accounting software.

Default scope

The sync replaces the manual export of the cash register closing (Z report) to accounting.
This is the default scope. Based on your requirements, it can be modified.

What the sync creates

The sync creates one balanced entry for each closed day of each location.
Closing entry for one day and one location: cash payments 330.00 and card payments 780.00 debited on the payment method accounts; sales 10% 500.00 and sales 20% 400.00 credited on the sales accounts; VAT 10% 50.00 and VAT 20% 80.00 credited on the VAT accounts; tips 80.00 credited on the account of the default values. Total 1,110.00 on each side. Optional lines added to the closing entry: discounts 45.00 debited on the discounts account and 45.00 credited on the sales account; complimentary items 12.00 debited on the debit account and 12.00 credited on the credit account; cash deposit 300.00 debited on the transfer account and 300.00 credited on the cash account. Total 357.00 on each side.

Example of a closing entry for one day, and the lines that the options add.

  • Payments: the sync debits the account of each payment method, with the tips paid with this method.
  • Revenue: the sync credits the sales account of each category or VAT rate, with amounts excluding VAT.
  • VAT: the sync credits the VAT of each rate, with the VAT amounts that the POS gives on the order.
  • Tips: the sync books the tips on the tips accounts of the default values.
  • Rounding: when a small difference remains, the sync adds a line on a rounding account.
  • Label: each line has the label “Cash register closing of” with the date and the location.
The amounts are an example. The accounts come from your mappings.

When a day is imported

The sync imports a day when the POS has closed it, and books each day once.
Five steps: find the days that are not booked yet, check that the closure of the day is closed, read the orders and the payments, build one entry per day, and create it in accounting. A day that is still open has no entry: the sync checks it again at the next run. A day in error is logged and retried at the next run.

How the sync processes each day of each location.

  • Closure: the sync books a day only when its closure is closed in the POS. It checks an open day again at the next run.
  • Once: the sync does not book again a day that it has booked.
  • Several closures: for the POS software that supports several closures per day, the sync creates one entry per closure.
  • Empty days: a closed day without orders creates no entry.
  • Errors: the sync logs the error, continues with the next day, and retries the day at the next run.
To import a period yourself, or to book a period again, see Run a sync manually. To check the entries before the sync writes them, see Ledger preview.

Configuration

You configure two things before the sync runs: the mappings and the settings.
Two cards. Mappings: journal, payment methods, sales accounts, VAT accounts or VAT codes, default values, complimentary items (optional), discounts (optional), client account (optional, depends on the POS) and cash deposits (optional, depends on the POS). Settings: start date (required), validate entries (on by default), accepted difference (default 0) and invoice delay (with the client account). The sync runs every day at 7 PM (UTC) and books each closed day once.

The sync configuration: the mappings, then the settings.

These are the default mappings. Based on your requirements, they can be modified.

Mappings

A mapping links a value from the POS software, or a fixed value, to a journal, an account or a VAT code in the accounting software. The sync uses them to build the entries.
Journal: one fixed value to a journal, depends on the accounting software. Payment methods: each payment method to a class 4 or 5 account, always shown. Sales accounts: each category or VAT rate to a class 7 account, always shown. VAT accounts: each VAT rate to a VAT account such as 445, depends on the accounting software. VAT codes: each VAT rate to a sales VAT code, depends on the accounting software. Default values: five fixed values to accounts, always shown. Complimentary items: two fixed values to class 6 and 7 accounts, optional. Discounts: one fixed value to a class 7 account, optional. Client account: one fixed value to a class 4 account, optional, depends on the POS. Cash deposits: two fixed values to class 5 accounts, optional, depends on the POS.

The ten mappings of the sync, and when the configuration shows each one.

The account classes and the fixed VAT rates in this section are those of the default sync, made for France. The sync variants for other countries have their own values.
Select the accounting journal that receives the closing entries.The configuration shows this mapping when the accounting software supports journals on entries. For the accounting software that only accepts entries in a miscellaneous operations journal, the list contains only these journals.API calls to reproduce this mapping: Get journals
Select the accounting account for each payment method of the POS (cash, credit card, voucher, etc.). The sync debits this account. This mapping is always shown.API calls to reproduce this mapping: Get payment methods (POS), Get chart of accounts (filter on class 4 and 5 accounts)
Select the sales accounts for the revenue, excluding VAT. This mapping is always shown. Use one of these ways to split the revenue:
  • By category: the account depends on the accounting category of the product sold. The sync first uses the category of the order line, then the categories of the product. Map the “Other” category: the sync uses it when it finds no account.
  • By VAT rate: the account depends on the VAT rate of the line.
Some POS software do not support the split by category. For the POS software that has its own accounting categories, the configuration also offers a split by product category.API calls to reproduce this mapping: Get accounting categories, Get product categories or Get tax rates (POS), Get chart of accounts (filter on class 7 accounts and on account 467)
Select the VAT account for each VAT rate (for example 445). The sync credits this account with the VAT collected.The configuration shows this mapping when the accounting software does not take VAT codes on entry lines. The list of VAT rates comes from the POS when the POS gives its tax rates. Otherwise the list is fixed.API calls to reproduce this mapping: Get tax rates (POS), Get chart of accounts (filter on class 4 accounts)
Select the accounting VAT code for each VAT rate. The sync adds this code on the entry lines. Select a sales VAT code.The configuration shows this mapping, instead of the VAT accounts mapping, when the accounting software takes VAT codes on entry lines.API calls to reproduce this mapping: Get tax rates (POS), Get vat codes
Select the accounts for the tips and for the rounding differences. This mapping is always shown.
  • Tips, credit account (for example 4261): the amount due to the staff.
  • Tips, debit account (for example 6431) and tips, credit account for the staff (for example 7068): two more lines for the same amount. The sync creates a line only for the accounts that you select.
  • Credit rounding account and debit rounding account: without a selection, the sync uses 758 and 658.
API calls to reproduce this mapping: Get chart of accounts
Select the debit account and the credit account for the items given for free. This mapping is optional. You enable it with a question in the configuration.A complimentary item is an order line with a discount equal to its full price. The sync adds one debit line and one credit line for the total of these items. Without this mapping, the entries do not show the complimentary items.API calls to reproduce this mapping: Get chart of accounts (filter on class 6 accounts for the debit and class 7 accounts for the credit)
Select the account for the discounts. This mapping is optional. You enable it with a question in the configuration.With this mapping, the sync books the revenue before discount on the sales account, and debits the discount, excluding VAT, on this account. Without it, the sync books the revenue net of the discounts.API calls to reproduce this mapping: Get chart of accounts (filter on class 7 accounts)
Select the client account for the B2B invoices (for example 411). This mapping is optional. You enable it with a question in the configuration. The configuration shows it only when the POS returns the invoices with the orders.When an order has an invoice, the sync debits the payments of the day on the payment method accounts, and the unpaid amount on the client account. When a payment arrives later, the sync books it in the entry of the day of the payment: it debits the payment method account and credits the client account.API calls to reproduce this mapping: Get chart of accounts (filter on class 4 accounts)
Select the two accounts for the cash deposits, when cash moves from the cash register to the bank. This mapping is optional. You enable it with a question in the configuration. The configuration shows it only when the POS gives the cash movements of a closure.For each withdrawal of the closure, the sync debits the exit account (for example 58) and credits the entry account (for example 53).API calls to reproduce this mapping: Get chart of accounts (filter on class 5 accounts)

When a value is not mapped

An order can use a category, a payment method or a VAT rate that has no account in the mapping. Only the sales accounts have a fallback. Without a fallback, the sync does not book the day.
Sales account: if mapped, the sync uses the account of the category. If not mapped, it uses the account of the Other category, from the sales accounts mapping. With no fallback, the day is not booked. Payment method: if mapped, the sync uses the account of the payment method. If not mapped, the day is not booked. VAT rate: if mapped, the sync uses the account or the code of the rate. If not mapped, the day is not booked.

What the sync does when a sales account, a payment method or a VAT rate is not mapped.

When a product has no category, or its category is not mapped, the sync uses the account of the “Other” category.Without an account for “Other”, the sync returns ERROR_SYNC_MISSING_DEFAULT_ACCOUNT. Complete the sales accounts mapping.
A payment method has no fallback in the default sync. When a payment method is not mapped, the sync returns ERROR_SYNC_PAYMENT_ACCOUNT_NUMBER_NOT_FOUND. This happens, for example, when you add a payment method in the POS after the setup.Map the payment method in the payment methods mapping.A sync variant can have a default payment account in its definition. The sync then uses this account, books the day and logs WARNING_SYNC_DEFAULT_PAYMENT_METHOD_USED.
A VAT rate has no fallback. When a rate is not mapped, the sync returns ERROR_SYNC_TAX_CODE_NOT_CONFIGURED.Map the rate in the VAT accounts mapping or the VAT codes mapping. When you split the revenue by VAT rate, map it in the sales accounts mapping as well.
The execution logs give the day, the location and the reason of each error. See Troubleshooting.

Settings

The settings define which days the sync imports and how it creates the entries.
Start date: required, the sync never imports the days before this date. Validate entries: on by default, the sync posts the entries in accounting; when off, it creates draft entries. Accepted difference: default 0 EUR, between an order and its lines or its payments. Invoice delay: shown with the client account, default 0 days, the number of days to wait before the sync books a closed day.

The settings of the sync and their default values.

The first day that the sync imports. This setting is required. The sync never imports the days before this date.At each run, the sync also goes back three months at most, even when the start date is older.
Select whether the sync posts the entries (default) or creates them as drafts.Not all accounting software support draft entries. When the software does not support them, this setting has no effect.
Enter the maximum difference, in EUR, that you accept between the total of an order and the sum of its lines, and between the total of an order and the sum of its payments. The default is 0.The sync books a difference within this limit on a rounding account. Above the limit, the sync returns ERROR_SYNC_UNBALANCED_ENTRY and does not book the day.
Enter the number of days that the sync waits before it books a closed day. The default is 0. The configuration shows this setting when the client account mapping is on.Use it when the POS can create a B2B invoice some days after the sale. The sync then books the day with its invoices.
The sync starts automatically every day, at 7 PM (UTC).

Troubleshooting

Sync errors appear in the execution logs of the sync. See Monitor executions to find the execution logs and the affected records. The POS sync troubleshooting guide gives the checks to do step by step.
Cause: An order of the day uses a payment method that is not mapped.Resolution: Map the payment method in the payment methods mapping.
Cause: A payment method is not mapped, and the sync has a default payment account in its definition. The sync used this account and booked the day.Resolution: Map the payment method in the payment methods mapping if it must go to a specific account.
Cause: The sync found no sales account for the category of an order line, and the “Other” category is not mapped.Resolution: Map the category, or the “Other” category, in the sales accounts mapping.
Cause: A VAT rate of the day has no account or code in the mapping, a tax of an order does not exist in the tax list of the POS, or the mapped VAT code does not exist in the accounting software.Resolution: Open the execution logs to find the rate or the tax. Complete the VAT accounts mapping or the VAT codes mapping. When you split the revenue by VAT rate, complete the sales accounts mapping as well.
Cause: The mapped VAT code is a purchase VAT code, or it has no payable account in the accounting software.Resolution: Select a sales VAT code in the VAT codes mapping, or add the payable account on the VAT code in the accounting software.
Cause: The sum of the lines of an order, or the sum of its payments, does not match the total of the order. Or the entry of the order is not balanced. The difference is above the accepted difference.Resolution: Open the execution logs to find the order and the amounts. Check the order in the POS (discounts, tips, payments). If the difference is a rounding difference, increase the accepted difference in the settings. If the amounts are correct in the POS, contact Chift’s support with the consumer ID.
Cause: An order has a B2B invoice with an unpaid amount, and the client account is not selected.Resolution: Select the account in the client account mapping.
Cause: The sync created no entry line for a day with a total different from zero.Resolution: Contact Chift’s support with the consumer ID, the location and the day.
Errors that are not specific to the POS sync are listed in the sync errors section.