Skip to main content
This sync creates accounting entries in the accounting software from the orders and the payments of a Property Management System (PMS).
Data flow: the PMS sends orders and payments to the Chift PMS sync. The sync creates a sales entry and a payments entry in the accounting software.

The PMS sync reads orders and payments from the PMS and creates balanced entries in the accounting software.

Default scope

The sync replaces the manual export of PMS sales to accounting.
This is the default scope. Based on your requirements, it can be modified.

What the sync creates

The sync creates two types of balanced entries. Both use the client account as the counterpart.
Sales entry: client account debited 132.00; Room revenue 100.00, Breakfast revenue 20.00 and VAT 10% 12.00 credited. Payments entry: credit card 100.00 and cash 32.00 debited; client account credited 132.00.

Example of the two entries for one period. Both balance on the client account.

  • The sync groups revenue by sales account and VAT rate. It spreads the discounts over these groups.
  • The sync groups payments by payment method.
The amounts are an example. The accounts come from your mappings.

When a period is imported

The sync imports a period only when the period is finished and closed in the PMS.
Each period goes through five steps: next period, closed in the PMS, read data, build the entry, post the entry. A period that is not closed waits for the next run. An error is retried at the next run.

How the sync processes each period.

  • The sync imports periods in order. A period that is not closed blocks the later periods of the same location.
  • An error on a period stops the sync for that location until the next run. The entries already created stay in place.
  • The sync does not create an entry when the total of the period is zero.

Configuration

You configure three things before the sync runs: the scope, the mappings and the settings.
Three cards. Scope: orders and payments (default), orders only, or payments only. Mappings: journal, client account, payment methods (payments scope), sales accounts (orders scope), VAT accounts (orders scope) and rounding accounts (optional). Settings: start date, entry level, rounding tolerance and frequency.

The sync configuration: the scope, then the mappings, then the settings.

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

Scope

The scope defines which PMS data the sync imports. Select one option:
  • Orders and payments (default)
  • Orders only
  • Payments only
The configuration then shows only the mappings that your scope needs.

Mappings

A mapping links a value from the PMS, or a fixed value, to a journal or an account in the accounting software. The sync uses these accounts to build the entries.
Journal: one fixed value to a journal, shown when the accounting software supports journals. Client account: one fixed value to a class 4 account such as 411, always shown. Payment methods: each payment method to a class 4 or 5 account, shown when payments are in scope. Sales accounts: each accounting category to a class 7 account, shown when orders are in scope. VAT accounts: each tax to a VAT account such as 445, shown when orders are in scope and the accounting software does not compute VAT. Rounding accounts: two fixed values to any account, always shown and optional.

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

All entries go to this journal: sales entries and payments entries.This mapping is hidden when the accounting software does not support journals on entries.API calls to reproduce this mapping: Get journals
The sync uses this account as the counterpart of every entry. This mapping is always shown.With one entry per invoice, the sync first uses the account number of the customer in the PMS. It uses the client account only when the PMS gives no account number.API calls to reproduce this mapping: Get chart of accounts (filter on class 4 accounts)
The configuration suggests an account for common payment methods. You can change each suggestion.This mapping is shown when the scope includes payments.API calls to reproduce this mapping: Get payment methods (PMS), Get chart of accounts (filter on class 4 and 5 accounts)
You can leave a category without an account. See When a value is not mapped.This mapping is shown when the scope includes orders.API calls to reproduce this mapping: Get accounting categories (PMS), Get chart of accounts (filter on class 7 accounts)
The sync posts the VAT of each tax on the mapped account.This mapping is shown when the scope includes orders. It is hidden when the accounting software computes VAT itself.API calls to reproduce this mapping: Get tax rates (PMS), Get chart of accounts (filter on class 4 accounts)
The sync posts small rounding differences on these accounts, so that each entry balances. This mapping is always shown, and it is optional.Without these two accounts, the sync does not correct rounding differences, and the rounding tolerance has no effect.API calls to reproduce this mapping: Get chart of accounts

When a value is not mapped

A PMS value can have no account in the mapping, for example a category created in the PMS after the setup. The sync then uses a fallback account when one exists.
Sales category: if mapped, the sync uses the category sales account. If not mapped, it uses the account of the Other / Autre category, available for some PMS connectors. With no fallback, it fails with ERROR_SYNC_MISSING_DEFAULT_ACCOUNT. Payment method: if mapped, the sync uses the payment method account. If not mapped, it uses the default payment account and logs a warning. With no fallback, it fails with ERROR_SYNC_PAYMENT_ACCOUNT_NUMBER_NOT_FOUND. Tax: if mapped, the sync uses the VAT account of the tax. There is no fallback account, so it fails with ERROR_SYNC_TAX_CODE_NOT_CONFIGURED.

What the sync does when a sales category, a payment method or a tax has no account in the mapping.

When a category is not mapped, the sync uses the account of the “Other / Autre” category. Some PMS connectors add this category, for example Mews, Opera and Thais. Map it to catch the categories that you did not map.If no account is found, the sync fails with ERROR_SYNC_MISSING_DEFAULT_ACCOUNT. Map the category, or the “Other / Autre” category, in the sales accounts mapping.
When a payment method is not mapped, the sync uses the default payment account of the sync. It also logs a warning in the execution logs.If no default payment account is set, the sync fails with ERROR_SYNC_PAYMENT_ACCOUNT_NUMBER_NOT_FOUND. Map the payment method in the payment methods mapping.
A tax has no fallback account. When a tax is not mapped, the sync fails with ERROR_SYNC_TAX_CODE_NOT_CONFIGURED.Map the tax in the VAT accounts mapping.

Settings

The settings define the first date to import, the level of detail of the entries and how often the sync runs.
Start date: required, up to 3 months in the past. Entry level: per period (default) or per invoice. Rounding tolerance: a whole number, 0 by default, used per period when the rounding accounts are mapped. Frequency: daily, weekly or monthly, set when you activate the sync.

The four settings of the sync and their default values.

The first date that the sync imports. This setting is required.You can select a date up to 3 months in the past. The sync never reads data older than 3 months.If the start date is in the middle of a period, the first entry covers only the days from the start date to the end of that period.
The level of detail of the entries. The default is per period.
  • Per period: one entry for all orders and one entry for all payments of each period and location.
  • Per invoice: one entry for each invoice and one entry for each payment. The entry label then gives details such as the invoice number and the client name.
The maximum difference accepted between the total of an order and the sum of its lines. Enter a whole number, 0 or more. The default is 0.The sync checks this difference only with one entry per period. It applies the tolerance only when the two rounding accounts are mapped. Otherwise, the totals must match exactly.
You select the frequency when you activate the sync. It defines the length of a period: a day, a week (Monday to Sunday) or a calendar month.The sync books a period only when it is finished. If a week or a month is not closed in the PMS when the sync runs, Chift retries before the next scheduled run.
The sync starts automatically each night, at 3 AM (UTC).

Troubleshooting

Sync errors appear in the execution logs of the sync. See Monitor executions to find the execution logs and the affected records.
Cause: An order uses an accounting category that has no sales account in the mapping, and no account is mapped to the “Other / Autre” category.Resolution: Map the category, or the “Other / Autre” category, in the sales accounts mapping.
Cause: A payment uses a payment method that has no account in the mapping, and the sync has no default payment account.Resolution: Map the payment method in the payment methods mapping.
Cause: A tax has no VAT account in the mapping.Resolution: Map the tax in the VAT accounts mapping.
Cause: An order line has no single VAT rate (for example, several taxes on one line).Resolution: Correct the line in the PMS. A line without VAT must have a rate of 0.
Cause: With one entry per period, the total of an order does not match the sum of its lines.Resolution: Verify the order in the PMS. For small differences, map the rounding accounts and set the rounding tolerance.
Errors that are not specific to this sync are listed in the sync errors section.