VUZDevelopers

Get VAT trend for the year

GET
/analytics/vat/trend

Retrieves VAT trend data for all periods in a year.

Data Returned:

  • Output, input, and net VAT per period
  • Report status per period
  • Year totals
X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Query Parameters

year?number

Year for trend data (defaults to current year)

Response Body

application/json

application/json

curl -X GET "https://example.com/analytics/vat/trend"
{  "year": 0,  "currency": "string",  "periods": [    {      "period": "string",      "outputVAT": 0,      "inputVAT": 0,      "netVAT": 0,      "status": "pending"    }  ],  "totalOutputVAT": 0,  "totalInputVAT": 0,  "totalNetVAT": 0}