Declarations

Dua Generate

Generate a DUA (Declaração Única Automóvel) PDF document.

Fills a DUA PDF template with buyer/seller data, vehicle info, banking details, and current date. Creates a Registos record and uploads the filled PDF to S3.

PARTIAL GENERATION: all four ids are OPTIONAL. The user fills whatever part of the dossier they have and the rest of the official form is left blank, exactly as a human hand-filling it would. An id that IS supplied must still resolve inside the caller's company — an unresolvable id is a 400, never a blank field.

Body (all optional): sujeito_ativo_id: int — Buyer client ID sujeito_passivo_id: int — Seller client ID vehicle_id: int — Vehicle ID restituicao_pv_id: int — PV ID for banking/restitution data

Returns: {status, registo_id, document_id, s3_url, pdf_url, is_partial, message}

post/api/declarations/dua-generate

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

Headers

x-api-tokenstring nullable

Request body

object required

Response

Successful Response

unknown required

Changes

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