Create and retrieve an accounting export
Create a new export and retrieve the export content directly in the response body for a given business-establishment.
In the v3 API model, the business-establishment is often called “legal-entity”. As a result, the legalEntityId
query parameter corresponds to the ID of a business-establishment.
The response contains all the exported entry lines for the given business-establishment.
The date query parameters can operate comparisons with a given date-time value. For examples :
?approvedOn=2021-01-01
: strict equality.?approvedOn=since,2021-01-01
: greater than or equal.?approvedOn=until,2021-01-01
: lower than or equal.?approvedOn=between,2021-01-01,2021-01-31
: comprised between two dates.
Headers
API key. Value must be formatted like so: lucca application={api_key}
.
Query Parameters
ID of the business-establishment for which entry lines will be exported.
The accountingDate
parameter is not used here as a filter, but to override the accounting date of the exported entry lines to a specific date.
{comparator},{date-time}
{comparator},{date-time}
Response
Content of the export file.
Was this page helpful?