Get an EC Sales List
GET
Returns sales to VAT-registered business customers in other EU member states between from and to, for the EC Sales List (ESL).
BearerAuthheader
AuthorizationBearer <JWT>from*stringPeriod start (yyyy-MM-dd)
Format
dateto*stringPeriod end (yyyy-MM-dd)
Format
dateX-TenantID*stringTenant identifier
OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request was processed; otherwise an error status.
message*stringShort human-readable message describing the outcome, e.g. which record was saved or why the call failed.
data?The EC Sales List lines, one per customer VAT number and member state.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/reports/tax/europe/esl?from=2019-08-24&to=2019-08-24' \ -H 'X-TenantID: your-tenant-code'Example Response
{ "status": "string", "message": "string", "data": { "tenantId": "string", "from": "2019-08-24", "to": "2019-08-24", "vatRegistrationNumber": "string", "entries": [ { "customerVatNumber": "string", "customerVatCountryCode": "string", "memberStateOfSupply": "string", "totalNetSales": 0, "transactionCount": 0 } ], "totalEntries": 0 }}