invoices

Send invoice to accountant

Send invoice to accountant via email.

Translates VBA: Module1.SendInvoiceToAcountant

Plain def: pyodbc, the S3 download and smtplib are all blocking (docs/claude/10-api-patterns.md §Event loop). Since #1033 it runs after every TOC issuance, from the «Fatura Criada» steps.

post/api/invoices/{fatura_id}/send-accountant

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/{fatura_id}/send-accountant
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

fatura_idinteger required

Headers

x-api-tokenstring nullable

Response

Successful Response

successboolean required
messagestring required
recipientstring nullable

Changes

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