Submit to KSeF (Poland)
ksef_submitSubmit invoices to Polish KSeF national e-invoicing system. Supports mock simulation, sandbox testing, and production submission for B2B transactions (mandatory by 2025).
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 transport is infra-ready in Frihet-ERP but not yet exposed as a live public endpoint (production gated on KSeF cert issuance). Until activated, all calls return a NotImplementedYet error with guidance. / NOTA: Este tool es un stub anticipatorio. El transporte KSeF está infra-ready en Frihet-ERP pero aún no expuesto como endpoint público (producción pendiente del certificado KSeF). Hasta su activación, todas las llamadas devuelven un error NotImplementedYet con instrucciones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). | |
| invoiceId | Yes | Frihet invoice ID to submit to KSeF / ID de la factura a enviar a KSeF |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| _note | No | Guidance on when the tool activates | |
| invoiceId | No | ||
| _notImplemented | No | Always true — KSeF endpoint not yet exposed as a live API | |
| _plannedEndpoint | No | Planned REST endpoint path |