Skip to content
fakturownia-invoice-ksef-create-send logo

Create And Immediately Send To KSeF

fakturownia-invoice-ksef-create-send

Create an invoice with the API-native `gov` companion flag that queues the document for KSeF submission right away.

SKILL.md

Full skill instructions

Auto-generated by go run ./​cmd/​gen-skills. Do not edit manually.

Create And Immediately Send To KSeF

Read fakturownia-invoices first.

Use this when the invoice should go to KSeF as part of the same create or update call.

gov is the upstream API name for the KSeF integration surface.

Create And Queue For KSeF

fakturownia invoice create \
  --gov-save-and-send \
  --input '{
    "kind":"vat",
    "buyer_company":true,
    "seller_tax_no":"5252445767",
    "seller_street":"ul. Przykładowa 10",
    "seller_post_code":"00-001",
    "seller_city":"Warszawa",
    "buyer_name":"Klient ABC Sp. z o.o.",
    "buyer_tax_no":"9876543210",
    "positions":[{"name":"Usługa","quantity":1,"total_price_gross":1230,"tax":23}]
  }' \
  --json

Update And Requeue For KSeF

fakturownia invoice update --id 111 --gov-save-and-send --input '{"buyer_tax_no_kind":"nip_ue","buyer_tax_no":"DE123456789"}' --json

Notes

  • --gov-save-and-send is a top-level companion flag outside the inner invoice object.
  • Inspect fakturownia schema invoice create --json before automating KSeF payload generation.

Related Skills