Send an approved draft to SEF
sef_send_invoiceUploads a previously approved draft invoice to SEF using the draft ID and approval code, after the user explicitly approves that exact draft.
Instructions
Uploads a previously drafted invoice to SEF. Requires the draftId and the approvalCode the user approved. Only call after the user explicitly approved this exact draft. In prod it also requires SEF_MCP_ALLOW_PROD_WRITE=true. Sends without SEF's own validation by default, like the SEF portal (SEF support: the option is not in operation yet). Pass executeValidation=true only if the user explicitly asks for it. A draft that was already sent successfully is not uploaded again: the result has alreadySent=true and the earlier SEF response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | ||
| approvalCode | Yes | ||
| executeValidation | No | Default false (as the SEF portal). true only on the user's explicit request; SEF says the option is not in operation yet. |