Error codes · KSeF · Poland
KSeF VAT rate invalid — StawkaPodatku not in the Ministry of Finance dictionary
This is the rejection, word for word: „[KSEF-005] KSEF-005 is raised when a VAT rate or tax category on an FA(2)/FA(3) invoice does not match the values the KSeF schema and the Ministry of Finance dictionary allow. KSeF does not accept arbitrary percentages or free-text descriptions: each line's rate must map to an allowed value (currently 23%, 8%, 5%, 0%) or to one of the markers — zw (exempt), np (out of scope), and the reverse-charge handling — declared through P_12 and consistent with the document totals (P_13_x / P_14_x). A non-dictionary percentage, or a marker inconsistent with the amounts reported for that group, is rejected.“
The rate must line up with both the dictionary and the per-rate totals. Triggers: (1) a foreign VAT percentage (19%, 20%, 7%) from a non-Polish tax code written into P_12. (2) Exempt/out-of-scope lines sent with numeric 0 instead of zw/np. (3) A marker that does not match the amounts (a zw line whose value is added to the 23% totals). (4) Reverse-charge scenarios with mismatched markers. KSeF validates the rate against the dictionary and cross-checks the per-rate totals.
<FaWiersz> <P_12>19</P_12> </FaWiersz>
<FaWiersz> <P_12>23</P_12> </FaWiersz>