Invoice
Affected endpoints:GET /invoices/{id}, GET /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}, GET /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, GET /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, GET /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}.
Test this version
Send theAccept-Version header with any request to test this API version: