Invoice
Affected Endpoints:GET /invoices/{id} andGET /taxpayers/{taxpayerID}/invoices
-
The
amountproperty has been removed from API responses. Use thetotalproperty instead. -
Retrieval by invoice’s
uuidat/invoices/{id}is now removed. To retrieve an invoice, use the invoice’sidat the specified endpoint. To find an invoice using itsuuid, filter the invoice collection at/taxpayer/{taxpayerId}/invoices?uuid[]={uuid}. -
Previously, the
@iriproperty for an invoice pointed to the resource usinguuid, like/invoices/{uuid}. Now, it points using itsid, like/invoices/{id}.
Link
Affected Endpoint:GET /links
- Filtering links by
statusis removed. Usecredential.statusinstead. For example, utilizeGET /links?credential.status[]=activeinstead ofGET /links?status[]=active.
Tax Return
Affected Endpoints:GET /tax-returns/{id} andGET /taxpayer/{taxpayerID}/tax-returns
-
Retrieval by tax return’s
operationNumberat/tax-returns/{id}is removed. To retrieve a tax return, use the tax return’sidat the mentioned endpoint. To find a tax return using itsoperationNumber, filter the collection at/taxpayer/{taxpayerId}/tax-returns?operationNumber[]={operationNumber}. -
Previously, the
@iriproperty for a tax return pointed to the resource usingoperationNumber, like/tax-returns/{operationNumber}. Now, it directs to itsid, like/tax-returns/{id}.
Event
Affected Endpoints:GET /events andGET /events/{id}
-
For events associated to an
tax-return, the@iriproperty now directs to/tax-returns/{id}instead of the previous/tax-returns/{operationNumber}. -
For events associated to an
invoice, the@iriproperty now directs to/invoices/{id}instead of the previous/invoices/{uuid}.
Extraction
Affected Endpoints:GET /extractions andGET /extractions/{id}
-
The
periodFromproperty has been removed. Useoptions.period.frominstead. -
The
periodToproperty has been removed. Useoptions.period.toinstead.
File
Affected Endpoint:GET /file/{id}
-
For files associated to an
tax-return, the@iriproperty now directs to/tax-returns/{id}, instead of the previous/tax-returns/{operationNumber}. -
For files associated to an
invoice, the@iriproperty now directs to/invoices/{id}, instead of the previous/invoices/{uuid}.
Trying Out This Version
If you want to test this version, you can do so by making any request with theAccept-Version header pointing to the latest version: