v1

latestOpenAPI 3.0.22026-08-061464031.4 MB
Tax returns

Retrieve tax returns for a link

Retrieve tax return information for a specific fiscal link.

post/api/tax-returns/

Query parameters

omitstring

Omit certain fields from being returned in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.

fieldsstring

Return only the specified fields in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.

Request body

OR

Example request

{
  "link": "c81a1dea-6dd6-4999-8b9f-541ee8197058",
  "attach_pdf": true,
  "save_data": true,
  "date_from": "2020-08-05",
  "date_to": "2020-10-05"
}

Response

Ok (when save_data=false)

Example response

[
  {
    "id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d",
    "link": "30cb4806-6e00-48a4-91c9-ca55968576c8",
    "collected_at": "2022-02-09T08:45:50.406032Z",
    "created_at": "2022-02-09T08:45:50.406032Z",
    "pdf": "=PDF-STRING=",
    "receipt_pdf": "=PDF-STRING="
  }
]