invoices

Process QR code from file

Process a PDF/image file to extract QR code data.

Translates VBA: Module1.RunQR + ProcessFatura

NOTE: QR reading (PyMuPDF + pyzbar) is CPU-heavy and synchronous. We run it in a thread pool to avoid blocking the asyncio event loop, which would stall all other requests on this worker.

post/api/invoices/process-qr

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/invoices/process-qr
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Headers

x-api-tokenstring nullable

Request body multipart/form-data

filestring binary required

Response

Successful Response

Astring nullable
Bstring nullable
Fstring date nullable
Gstring nullable
Hstring nullable
I7number nullable
I8number nullable
Nnumber nullable
Onumber nullable
Pnumber nullable
raw_qrstring nullable
successboolean
error_messagestring nullable

Changes

No recorded changes to this operation across all 21 revisions of this API.