Submit to KSeF (Poland)
ksef_submitSubmits invoices to the Polish KSeF e-invoicing system for B2B transactions. Supports mock, sandbox, and production modes for testing and live use.
Instructions
Submit an invoice to the Polish KSeF (Krajowy System e-Faktur) national e-invoicing system. Poland requires e-invoicing for B2B transactions (mandatory phase rolling out 2025).
Modes: • mock — local simulation (no network call, safe for dev/test) • sandbox — KSeF test environment (demo.ksef.mf.gov.pl) • production — live KSeF endpoint (ksef.mf.gov.pl)
NOTE: This tool is a forward-compatible stub. The KSeF Cloud Function lands in PR #417. Until merged, all calls return a NotImplementedYet error with guidance on when it will be available. / NOTA: Este tool es un stub anticipatorio. La Cloud Function KSeF se activa con el PR #417. Hasta su merge, todas las llamadas devuelven un error NotImplementedYet con instrucciones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | Frihet invoice ID to submit to KSeF / ID de la factura a enviar a KSeF | |
| mode | No | Submission mode: mock (local sim), sandbox (KSeF test), production (live KSeF). Default: production. / Modo de envío: mock (simulación), sandbox (test KSeF), production (KSeF real). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _notImplemented | No | Always true — endpoint pending PR #417 | |
| _note | No | Guidance on when the tool activates | |
| _plannedEndpoint | No | Planned REST endpoint path | |
| invoiceId | No | ||
| mode | No |