Read a canonical invoice
const url = 'https://api.invogi.com/v1/invoices/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.invogi.com/v1/invoices/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Invoice
object
Source historical scan; null for real-time invoices
How an invoice’s company was chosen. BUYER_UNMATCHED: the buyer VAT ID matched no company, so the invoice fell back to the default company and awaits confirmation or a move.
VAT ID of the invoice’s company
Buyer name as stated on the invoice (EN 16931 BT-44)
Buyer VAT ID as stated on the invoice (BT-48)
object
The organization’s base currency when the invoice was analysed
Units of baseCurrency per one unit of the invoice currency, to 14 decimal places
Reference date the rate was published for: the last business day on or before the issue date
ECB (European Central Bank reference rate), ECB+PEG (derived through a fixed central-bank parity such as AED/USD), or IDENTITY (invoice already in the base currency)
object
Position as received; not assumed numeric or contiguous
Decimal string
Decimal string
Decimal string
Decimal string
object
Source historical scan; null for real-time invoices
Decimal string between 0 and 1
Concrete next step generated by the deterministic control
object
object
Present on invoice detail when the source is a recognized FA(3) XML document
Example
{ "processingStatus": "UPLOADED", "companySource": "EXPLICIT", "decision": "PASS", "findings": [ { "severity": "INFO", "disposition": "OPEN" } ], "sourceDocument": { "mediaType": "application/pdf", "structuredFormat": "KSEF" }}Missing or invalid API key
object
object
Example
{ "error": { "code": "NOT_FOUND" }}Resource not found
object
object
Example
{ "error": { "code": "NOT_FOUND" }}