Get E-Invoice Status
get_einvoice_statusPoll the status of an e-invoice dispatch workflow. Returns current step, network acknowledgment ID, and download URLs upon completion.
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'.
NOTE: Stub response — real CF endpoint https://api.frihet.io/v1/einvoice/status wired in transport Wave. / 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 |
|---|---|---|---|
| status | Yes | ||
| step | Yes | Current or last workflow step name | |
| error | No | Error message if status is 'failed' | |
| ackId | No | Network acknowledgement ID (PEPPOL SBDH / SDI protocol ID / etc.) | |
| pdfA3Url | No | Signed URL to download the PDF/A-3 envelope (Factur-X only) | |
| xmlUrl | No | Signed URL to download the raw XML file |