iotoms Docs

Get an EU tax invoice register

GET
/api/v1/reports/tax/europe/tax-invoice-register

Lists every sale invoice taxed in one EU member state (countryCode) with a business date between from and to, with VAT amounts, the buyer's VAT number and ESL/Intrastat flags. Fails if the merchant has no VAT registration number.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Query Parameters

countryCode*string

EU member state code

from*string

Period start (yyyy-MM-dd)

Formatdate
to*string

Period end (yyyy-MM-dd)

Formatdate

Header Parameters

X-TenantID*string

Tenant identifier

Response Body

OK

*/*
  1. response
status*string

Outcome of the call: SUCCESS when the request was processed; otherwise an error status.

message*string

Short human-readable message describing the outcome, e.g. which record was saved or why the call failed.

data?array<>|

One entry per invoice issued for the member state in the period.

Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/reports/tax/europe/tax-invoice-register?countryCode=string&from=2019-08-24&to=2019-08-24' \  -H 'X-TenantID: your-tenant-code'
Example Response
{  "status": "string",  "message": "string",  "data": [    {      "transactionId": "string",      "invoiceNumber": "string",      "businessDate": "2019-08-24",      "customerNumber": "string",      "customerVatRegistrationNumber": "string",      "memberStateOfSupply": "string",      "supplyType": "string",      "taxJurisdiction": "string",      "subtotal": 0,      "vatRate": 0,      "vatAmount": 0,      "grandTotal": 0,      "currency": "string",      "isEsl": true,      "isIntrastat": true    }  ]}