Create an invoice with the API-native `gov` companion flag that queues the document for KSeF submission right away.
Auto-generated by
go run ./cmd/gen-skills. Do not edit manually.
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.
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
fakturownia invoice update --id 111 --gov-save-and-send --input '{"buyer_tax_no_kind":"nip_ue","buyer_tax_no":"DE123456789"}' --json
--gov-save-and-send is a top-level companion flag outside the inner invoice object.fakturownia schema invoice create --json before automating KSeF payload generation.