Push an invoice
Learn how to synchronize a single invoice between Monite and your accounting system.
Overview
This page aims to showcase how to synchronize a specific invoice, the possible issues during the synchronization, and how to troubleshoot them.
Before pushing an invoice, you are required to have a synchronized connection between Monite and your accounting system.
1. Before pushing an invoice
The following requirements must be fit before pushing an invoice to your accounting system:
- Counterpart in Monite must be mapped to a counterpart in the accounting system
- Product in Monite must be mapped to a product in accounting system
- The product in the accounting system must have a GL account assigned
- Tax-rate in Monite must be mapped to a tax-rate in accounting system (right now this is done numerically)
2. Run the synchronization
The synchronization automatically happens every 24 hours following the initial synchronization between the entity’s accounting system and Monite.
However, you can trigger the data synchronization between Railz and the accounting system on demand by calling POST /accounting_connections/{connection_id}/sync
:
The successful response confirms the synchronization was triggered. The processing time may vary according to the amount of data synchronized:
[Add how to sync a single invoice]
Monite automatically pushes invoices when they are moved from the draft
to issued
status.
3. Check for a specific invoice
The synchronization time may vary according to the size of the invoice. You can check the status of the synchronization by calling GET /accounting_synced_records?object_type=invoice&object_id={object_id}
:
The successful response returns the record of the synced document, as well as the synced_record_id
:
Troubleshooting
To get a list with all the sync records, call GET /accounting_synced_records
. Filtering the results by the object_type is mandatory. For example, GET /accounting_synced_records?object_type=bill
will get all the sync records for bills (payables). If the synchronization fails, an error status with details will be returned.
You can sort and filter the results by other fields. For the full list of available sort and filter parameters, see the GET /accounting_synced_records
endpoint:
To push an invoice manually, call POST /accounting_synced_records/{synced_record_id}/push
endpoint.
This action requires the synced_record_id
obtained on the previous step.
when you need to create an object in Accounting (and then sync it back into Monite) before being able to push an invoice
If you continue to experience issues and need further assistance with the accounting integration, please contact our Support Team.