> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chift.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# PMS sync

This sync lets you sync PMS orders and payments with accounting software.

<img src="https://mintcdn.com/chift/An6huKcWb3M9OkHt/assets/docs/syncs/sync-pms-to-accounting.png?fit=max&auto=format&n=An6huKcWb3M9OkHt&q=85&s=99a14dda803f15644dfaa1cbe33fcf77" alt="PMS sync" width="2267" height="555" data-path="assets/docs/syncs/sync-pms-to-accounting.png" />

### Default scope

This integration sync automates PMS accounting (also called Property Management System), making manual exports unnecessary.

The integration imports sales and payments entries into accounting on the frequency defined in the configuration (daily, weekly or monthly).
The integration supports management of different payment methods, product categories and/or VAT rates.
The accounting entries are created in the accounting journal specified in the configuration.
You can choose whether to have:

* a single entry per period

* a single entry per invoice

A specific period is only imported if the period is closed (max 7 days or defined in the configuration of the software)

### Mappings

Mappings define how data from the PMS software maps to the accounting software.

<Steps>
  <Step title="Connect accounting tool" stepNumber="1">
    Connect your accounting tool through API key, credentials or OAuth2.
  </Step>

  <Step title="Connect Property Management System (PMS) tool" stepNumber="2">
    Connect your property management system tool through API key, credentials or OAuth2.
  </Step>

  <Step title="Journal" stepNumber="3">
    Specify the accounting journal in which to create accounting entries<br />
    <br />*<u>Reproduce this step by using the following API call(s) :</u>*<br />
    <code>GET journals</code>
  </Step>

  <Step title="Client account" stepNumber="4">
    * When you create one entry per period, this is the client account you use to balance your accounting entries.

    * When you create one entry per invoice, this is the default client account you use for your invoices if the account is not specified in the client's invoice (configuration to be done in the PMS software).<br />
      <br />*<u>Reproduce this step by using the following API call(s) :</u>*<br />
      <code>GET chart of accounts</code><br />
      *(Filter on class 4 accounts)*
  </Step>

  <Step title="Payment methods" stepNumber="5">
    Select the accounting account for each payment method (credit card, cash, etc.)<br />
    <br />*<u>Reproduce this step by using the following API call(s) :</u>*<br />
    <code>GET Payment methods</code>
    <code>GET chart of accounts</code><br />
    *(Filter on class 4 and 5 accounts)*
  </Step>

  <Step title="Sales accounting accounts" stepNumber="6">
    Define how revenue is classified.\
    You have to select an accounting account next to each accounting category.<br />
    <br />*<u>Reproduce this step by using the following API call(s) :</u>*<br />
    <code>GET Accounting categories</code>
    <code>GET chart of accounts</code><br />
    *(Filter on class 4 and 7 accounts)*
  </Step>
</Steps>

### Configuration

1. This final step allows you to specify the synchronization start date: choice of the date from which Z tickets are synchronized.

<Info>Synchronization starts automatically each night (at 6 AM).</Info>

2. Choose between one aggregated entry per period or one entry per invoice
