faturas-legacy

Legacy VBA invoice upload (public, no auth)

Legacy VBA-compatible invoice upload endpoint.

Accepts the exact payload format from the legacy VBA UploadInvoice function. No authentication required - uses empresa/user_id/idpv from payload.

URL: POST /public/faturas

post/public/faturas

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/public/faturas
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Headers

x-api-tokenstring required

Request body multipart/form-data

empresastring required

Company ID

user_idstring required

User ID

idpvstring required

Point of Sale ID

idmodulostring nullable

Module ID (8=Faturas)

tipo_docstring nullable

Document type (maps to tipodocs)

dataentradastring nullable

Entry date DD/MM/YYYY

Scannerstring nullable

Scanner field (ignored)

Astring nullable

Emitter NIF

Bstring nullable

Acquirer NIF

Cstring nullable
Dstring nullable
Estring nullable
Fstring nullable

Document date YYYY-MM-DD

Gstring nullable

Invoice number

Hstring nullable

ATCUD

I1string nullable
I2string nullable
I3string nullable
I4string nullable
I5string nullable
I6string nullable
I7string nullable

Tax base

I8string nullable

Tax amount

J1string nullable
J2string nullable
J3string nullable
J4string nullable
J5string nullable
J6string nullable
J7string nullable
J8string nullable
K1string nullable
K2string nullable
K3string nullable
K4string nullable
K5string nullable
K6string nullable
K7string nullable
K8string nullable
Lstring nullable
Mstring nullable
Nstring nullable

Tax total

Ostring nullable

Grand total

Pstring nullable
Qstring nullable
Rstring nullable
Sstring nullable
Descricaostring nullable
filesstring binary nullable

Invoice file (PDF/image)

Response

Successful Response

object required

Changes

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