Gaviti supports several formats for data import, including JSON, XML, CSV, TXT, XLS, and XLSX.
For JSON data, the format must include the adapter's token, as well as sections for invoices and customers. The structure should be as follows:
{
token: [THE TOKEN PROVIDED],
invoices: [ARRAY OF INVOICES AS DESCRIBED IN THE FILE],
customers: [ARRAY OF CUSTOMERS AS DESCRIBED IN THE FILE]
}
XML data must start with the header and have a specific structure, as shown below:
<?xml version="1.0" encoding="UTF-8"?>
<data>
<customers>
</customers>
<invoices>
</invoices>
</data>
For MS Excel data, the spreadsheet must be structured differently for Customers and Invoices. Please refer to Gaviti's documentation for more information on the specific requirements for each of these formats.