New API endpoints for the BILL export operation
We have introduced two new API endpoints for BILL export operations.
You can now get a list of exported BILL records available for you to download. You can export records, such as vendors, customers, bills, and invoices. In addition, you can export AP payments and AR payments.
| Operation | API endpoint |
|---|---|
| Get list of exported BILL records | GET /v3/exports |
| Get exported record download URL | GET /v3/exports/{exportId}/download-link |
With the Get list of exported BILL records (GET /v3/exports) API request, you get a list of exported BILL records available for you to download.
In the response, the exportId is the BILL-generated ID of the exported record file. Use this value to get the download URL for the exported record file with the Get exported record download URL (GET /v3/exports/{exportId}/download-link) API request.
The Import and export section in the BILL web app (Settings > Import & export > Custom File Integration) provides the complete list of entities that you can export. In this section, you can set up a schedule for BILL exports. For example, on a weekly schedule, you can have BILL export records for your choice of BILL entities.
Each exported record is in the CSV format. If you are using an accounting system that does not sync with BILL, you can use these CSV files to export records from BILL, and then import the data into your accounting system.
See Export BILL records in the Guides section to learn about setting up a schedule for BILL exports and sample responses.
