Factuarea APIDevelopers

Retrieve a VAT register summary

Summarise one VAT register book (issued, received or investment_goods) for a period: counts, base, tax and deductible totals, and the warnings of the book, without the rows. - year is required; without quarter it covers the whole year, and accumulated=true runs from 1 January to the end of that quarter. - The summary of a quarter is not the export file: the file is always accumulated from 1 January. - A period without invoices is a 200 with zero totals.

An unknown book is 422 parameter_invalid_value (vat_register_book_invalid).

GET
/companies/{company}/vat-registers/{book}/summary

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

company*string

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Formatuuid
book*string

VAT register book: issued, received or investment_goods.

Query Parameters

year*integer

Fiscal year of the register, for example 2026. An integer; a year outside the supported window returns 422 invalid_period.

quarter?integer

Quarter of the summary, from 1 to 4. Omit it to summarise the whole year.

Range1 <= value <= 4
accumulated?boolean

With true the summary runs from 1 January to the end of quarter, as the export file does; with false or omitted it covers only that quarter. Accepts true and false as text.

Headers

Factuarea-Version?string

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json