fakturownia-invoice-ksef-correction-to-zero

Create KSeF correction invoices referencing the original gov_corrected_invoice_number.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/sixers/fakturownia-cli --skill fakturownia-invoice-ksef-correction-to-zero
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fakturownia-invoice-ksef-correction-to-zero
Source: https://github.com/sixers/fakturownia-cli/tree/main/skills/fakturownia/recipes/invoice-ksef-correction-to-zero
Command: npx skills add https://github.com/sixers/fakturownia-cli --skill fakturownia-invoice-ksef-correction-to-zero

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides clear, actionable guidance for correcting invoices issued via KSeF in Fakturownia where the correction process requires referencing the KSeF number of the corrected invoice and sometimes producing a correction-to-zero.

Core Features & Use Cases

  • Inspect existing invoices to retrieve id, number, gov_id, and gov_status before issuing a correction.
  • Create KSeF correction invoices that include the gov_corrected_invoice_number field and correction line items with negative amounts for correction-to-zero scenarios.
  • Operator guidance on keeping correction-to-zero logic in payloads and operator instructions rather than adding a dedicated CLI verb.

Quick Start

Inspect the original invoice with invoice get to obtain its id and gov_id, then create a correction invoice that sets gov_corrected_invoice_number to the original KSeF number and includes negative position amounts.

Frequently Asked Questions about fakturownia-invoice-ksef-correction-to-zero

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I issue a KSeF invoice correction to zero in Fakturownia?

To issue a KSeF correction to zero in Fakturownia, inspect the original invoice to obtain its gov_id, then create a correction invoice with gov_corrected_invoice_number set to that KSeF number and negative position amounts.

What is a correction-to-zero invoice and when is it needed in KSeF e-invoicing?

A correction-to-zero invoice in KSeF e-invoicing is a correction invoice that fully nullifies an original invoice by referencing its gov_corrected_invoice_number and using negative position amounts to zero out the totals.

Which invoice fields do I need to check before creating a KSeF correction invoice?

Before creating a KSeF correction invoice, you must inspect the original invoice's id, number, gov_id, and gov_status fields to ensure you can accurately reference the corrected KSeF number in the payload.

Does Fakturownia require a dedicated CLI verb for generating correction invoices to zero?

Fakturownia correction-to-zero logic does not require a dedicated CLI verb; instead, the correction payload with gov_corrected_invoice_number and negative amounts is handled through standard invoice get and create operations.

How do I compose a correction payload for a KSeF invoice that references the original government number?

You compose a KSeF correction payload by setting gov_corrected_invoice_number to the original invoice's KSeF number and including correction line items with negative position amounts to reverse the original billing values.