Get E-Invoice Status
get_einvoice_statusPoll the status of an e-invoice dispatch workflow to get current step, network confirmation (ack ID), and download URLs. Use every 5–10 seconds until succeeded, failed, or cancelled.
Instructions
Poll the status of an e-invoice dispatch workflow. Returns current step, ack ID (network confirmation), and download URLs once complete. Poll every 5–10 seconds until status is 'succeeded', 'failed', or 'cancelled'.
If the status backend is not deployed for this workspace, returns an honest 'unavailable' response — never a fabricated status. / Consulta el estado de un flujo de envio de factura electronica.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowRunId | Yes | Hatchet workflow run ID returned by send_einvoice / ID del run de workflow |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | Current or last workflow step name | |
| ackId | No | Network acknowledgement ID (PEPPOL SBDH / SDI protocol ID / etc.) | |
| error | No | Error message if status is 'failed' | |
| status | Yes | ||
| xmlUrl | No | Signed URL to download the raw XML file | |
| pdfA3Url | No | Signed URL to download the PDF/A-3 envelope (Factur-X only) |