Taxes Invoice

Get taxes invoice from an invoice pdf

Get taxes invoice from an invoice pdf

STEP 1

POST https://api.transiteo.io/v1/importFileService/invoicePdf/taxesInvoice

Get a timestamp to request the step 2

Headers

JSON REQUEST FORMAT

{
  "content": "data:application/pdf;base64,JVBERi0xLjQKJfbk/N8KMSAwIG9iago8PA..."
}

Response

{
    "timestamp": 1671483327236
}

STEP 2

GET https://api.transiteo.io/v1/importFileService/invoicePdf/taxesInvoice/{timestamp}

Get Taxes invoice result

Headers

Path parameters

Response

{
    "documents": [
        {
            "id": "sub_HIHEBIHCGBHGBTi6pfFQ3ismC66hkQ",
            "url": "https://services.dev.transiteo.io/templates/taxesInvoice/sub_HIHEBIHCGBHGBTi6pfFQ3ismC66hkQ.pdf"
        }
    ]
}

Last updated