# Accounting Integration API

**The objective of** accounting integration is to *automate the creation and flow of transactions between the Dataloy VMS and an accounting system*. The advantage is, for example, reduced risk of errors as several transactions handled by the Dataloy VMS system generates transactions to be entered in a client accounting system. An integration also allows for synchronizing the basic data entities (or [*Master Data*](https://dataloy-cloud.atlassian.net/wiki/spaces/VMSKB/pages/923590728/Master+Data)*, i.e. several of the same being stored and maintained in both systems*) between systems. Some [Master Data](https://dataloy-cloud.atlassian.net/wiki/spaces/VMSKB/pages/923590728/Master+Data), for example, Business Partners, must be synchronized for the integration to work.

**Accounting Integration Transactions**

**Transactions from Dataloy VMS to Accounting:**

* Sales and purchase invoices are transferred whenever an invoice/invoices is/are posted in the VMS.
* Bunker transactions are transferred whenever a bunker transaction is posted in the VMS.
* Vessel/Voyage information is sometimes required by Accounting before invoices and/or bunker transactions are transferred. A scheduled task for transferring this type of information to Accounting can be set up (contact Dataloy for more information).
* [Accruals](https://dataloy-cloud.atlassian.net/wiki/spaces/VMSKB/pages/923590706/Accruals) will be transferred by users when performing period-end-closing (*more information:* [*Accruals*](https://dataloy-cloud.atlassian.net/wiki/spaces/VMSKB/pages/923590706/Accruals) *page and the* [*Period-End-Closing*](http://confluence.dataloy.com/display/VMSKB/Period-End-Closing+Process) *process*).

**Transactions from Accounting to Dataloy VMS:**

* Receipts and payments being transferred from Accounting to Dataloy VMS. The transaction to collect and payments and send to the VMS is either triggered by Accounting or by a scheduled task (set up by Dataloy Systems).
* Exchange rates will be transferred from Accounting to Dataloy VMS. This transaction is either triggered by Accounting or by a scheduled task (set up by Dataloy Systems) to collect and retrieve the rates.
* Actuals is part of the [Period-End-Closing process](https://dataloy-cloud.atlassian.net/wiki/spaces/VMSKB/pages/923590615/Period-End-Closing) and is usually transferred from Accounting to Dataloy VMS.
