Overview
Monite allows entities to export all their accounts payable, so they can integrate this data into their accounting systems. The exported payables data are structured in CSV format and must be selected by specific statuses, and start and end dates.Compatible accounting systems
Currently, Monite supports accounting data export to Xero. More export formats will be added in the future.Xero
The Xero export contains just the essential data for Xero to execute the import. Monite does not validate the exported data. To check Xero’s requirements and validations, check the Xero documentation.Considerations
- Counterpart-related data is exported only for payables that have been submitted for approval as the information about the counterparts is inserted into the payables only at this status.
- The prices in the exported data are tax-exclusive, that is, do not include taxes.
Export the accounting data
To export the accounting data of a specific entity, callPOST /data_exports and specify the desired format (csv_xero), the object type name (in this example - payable) and statuses, and the date range:
GET /data_exports/{data_export_id}, passing the previously obtained data export ID in the URL:
source_url field, which contains the URL to download the exported file:
Bigger exports may take longer to be processed. Meanwhile, their status are presented as
pending until the export is completed and the file is available for download.Field mapping
Field mapping
This is how the fields between Monite and Xero are associated:
All the fields are obtained from the
| Monite field | Xero field |
|---|---|
counterpart.name | *ContactName |
counterpart.email | EmailAddress |
counterpart.address.line1 | POAddressLine1 |
counterpart.address.line2 | POAddressLine2 |
counterpart.address.city | POCity |
counterpart.address.state | PORegion |
counterpart.address.postal_code | POPostalCode |
counterpart.country | POCountry |
document_id | *InvoiceNumber |
issued_at | *InvoiceDate |
due_date | *DueDate |
line_items.description | Description |
line_items.quantity | *Quantity |
line_items.unit_price | *UnitAmount |
line_items.account_code | *AccountCode |
line_items.tax_type | *TaxType |
payables object, except tax_type and account_code, which are obtained from the /extra_data settings.Set default values
Set default values
You can configure default values for specific fields in the exported data to streamline the CSV processing and reduce manual work.Currently, it is possible to set default values for the account code (The successful response contains information about the default value:
default_account_code) and tax rate code (default_tax_rate_code) fields, which are mapped to *AccountCode and *TaxType respectively on Xero.Additionally, the counterpart_id obtained from exported payables is used to search for entries corresponding to this counterpart_id in the Monite system. If a corresponding register is found, i.e. this counterpart already exists in the Monite system, the exported data is enriched with the counterpart information.To create a default value for a specific field, send a POST request to the /data_exports/extra_data endpoint specifying the :List all default values
To get information about all default values, callGET /data_exports/extra_data.Retrieve a default value
To get information about a specific default value, callGET /data_exports/extra_data/{extra_data_id} endpoint.Update a default value
To edit an existing default value, callPATCH /data_exports/extra_data/{extra_data_id} endpoint.Delete a default value
To delete an existing default value, callDELETE /data_exports/extra_data/{extra_data_id} endpoint.Check all data exports
To check all the requested data exports, callGET /data_exports endpoint: