iotoms Docs

Get an EU One-Stop Shop return

GET
/api/v1/reports/tax/europe/oss-return

Returns cross-border sales to consumers in other EU countries between from and to, grouped by the member state where the goods were consumed, for the One-Stop Shop (OSS) VAT return.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Query Parameters

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?

The VAT return figures for the requested period.

Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/reports/tax/europe/oss-return?from=2019-08-24&to=2019-08-24' \  -H 'X-TenantID: your-tenant-code'
Example Response
{  "status": "string",  "message": "string",  "data": {    "tenantId": "string",    "countryCode": "string",    "currency": "string",    "from": "2019-08-24",    "to": "2019-08-24",    "vatRegistrationNumber": "string",    "rateBreakdowns": [      {        "supplyType": "string",        "ratePercent": 0,        "netSales": 0,        "outputVat": 0      }    ],    "totalNetSales": 0,    "totalOutputVat": 0,    "totalInputVat": 0,    "netVatPayable": 0,    "transactionCount": 0  }}