Konto
Deutsch

KSeF-FA(3)-Regeln (KSeF FA(3), polnisches nationales E-Rechnungssystem)

Die KSeF-FA(3)-Regeln betreffen die polnische strukturierte Rechnung: XSD-Schemafehler (Elementreihenfolge, NIP- und Datumsmuster, zulässige Werte) und semantische Regeln des Finanzministeriums (Anmerkungen, Parteirollen, Bankkonten, Wechselkurse, Beträge)..

Die KSeF-FA(3)-Regeln betreffen die polnische strukturierte Rechnung: XSD-Schemafehler (Elementreihenfolge, NIP- und Datumsmuster, zulässige Werte) und semantische Regeln des Finanzministeriums (Anmerkungen, Parteirollen, Bankkonten, Wechselkurse, Beträge).

Quelle: KSeF FA(3) schema 1-0E + semantic rules (@ksefuj/validator 0.4)

Alle Regeln (56)

IDRegelSchweregrad
ADNOTACJE_NST_MISSINGNoweSrodkiTransportu element is mandatory in Adnotacje (§9.6)Fehler
ADNOTACJE_P16_MISSINGP_16 is mandatory in Adnotacje (§9.6)Fehler
ADNOTACJE_P17_MISSINGP_17 is mandatory in Adnotacje (§9.6)Fehler
ADNOTACJE_P18_MISSINGP_18 is mandatory in Adnotacje (§9.6)Fehler
ADNOTACJE_P18A_MISSINGP_18A is mandatory in Adnotacje (§9.6)Fehler
ADNOTACJE_P23_MISSINGP_23 is mandatory in Adnotacje (§9.6)Fehler
ADNOTACJE_PMARZY_MISSINGPMarzy element is mandatory in Adnotacje (§9.6)Fehler
ADNOTACJE_ZWOLNIENIE_MISSINGZwolnienie element is mandatory in Adnotacje (§9.6)Fehler
AMOUNT_NO_SEPARATORSAmount fields must not contain spaces, commas, or any non-numeric characters except…Fehler
CURRENCY_RATE_MISMATCHKursWaluty does not match the NBP Table A mid-rate for the reference date (ArtWarnung
CURRENCY_RATE_UNVERIFIABLEKursWaluty cannot be verified — NBP rate unavailable or outside the valid date window (ArtWarnung
DECIMAL_PRECISIONAmount field exceeds maximum decimal precision defined in §2.6 of FA(3) specificationFehler
DUPLICATE_LINE_NUMBERSLine numbers (NrWierszaFa) must be unique within the invoice (except in corrective…Fehler
ELEMENT_NOT_ALLOWEDElement not allowed at this locationFehler
ENCODING_ERRORCharacter encoding errorFehler
FOREIGN_CURRENCY_TAX_PLNForeign currency invoice with tax amounts should include PLN conversions in P_14_*W…Warnung
GTU_FORMATGTU value must match pattern GTU_XX (GTU_01 through GTU_13)Fehler
GV_REQUIRES_PODMIOT3When Podmiot2/GV = '1', at least one Podmiot3 must exist with Rola = '10' (§6.1,…Fehler
INVALID_BANK_ACCOUNT_FORMATPolish bank account (NrRB) must be 28 characters for IBAN format (PL + 26 digits) or…Fehler
INVALID_ELEMENT_VALUEElement value does not match schema constraintsFehler
IPKSEF_FORMATIPKSeF must be exactly 13 alphanumeric characters [0-9a-zA-Z] (§12.1)Warnung
JST_REQUIRES_PODMIOT3When Podmiot2/JST = '1', at least one Podmiot3 must exist with Rola = '8' (§6.1,…Fehler
KOR_NRKSEF_CONSISTENCYDaneFaKorygowanejFehler
KURS_WALUTA_PAIRKursUmowny and WalutaUmowna must both be present or both absent (§13.1, Appendix D #11)Fehler
KURS_WALUTY_Z_PLACEMENTKursWalutyZ at Fa level is ONLY valid for advance invoices (RodzajFaktury = ZAL or…Fehler
MALFORMED_XMLXML is not well-formedFehler
NEGATIVE_QUANTITY_NOT_ALLOWEDNegative quantities (P_8B) are only allowed in corrective invoices (RodzajFaktury =…Fehler
NIP_IN_WRONG_FIELDPolish NIP detected in NrVatUE field - must be in NIP field for purchaser KSeF access…Warnung
NRRB_LENGTHNrRB must be 10–34 characters (§12.1)Warnung
NST_LOGICNoweSrodkiTransportuFehler
OO_RATE_FOREIGN_BUYERP_12 = 'oo' is for domestic reverse charge onlyWarnung
P6_P6A_MUTUAL_EXCLUSIONP_6 (common delivery date) and P_6A (per-line delivery date) are mutually exclusive…Fehler
P12_ENUMERATIONP_12 must be one ofFehler
P15_MISSINGP_15 (total amount due) is mandatory in Fa (§9.4)Fehler
PAYMENT_ZAPLACONO_DATEWhen Platnosc/Zaplacono = '1', DataZaplaty must be present (§12.1)Warnung
PMARZY_LOGICPMarzyFehler
PODMIOT2_GV_MISSINGGV element is mandatory in Podmiot2 (§6.1)Fehler
PODMIOT2_JST_MISSINGJST element is mandatory in Podmiot2 (§6.1)Fehler
PODMIOT3_ROLE_MISSINGWhen Podmiot3 has no Rola, both RolaInna and OpisRoli must be presentFehler
PODMIOT3_UDZIAL_REQUIRES_ROLE_4Udzial element on Podmiot3 is only permitted when Rola = '4' (§7.2)Fehler
RACHUNEKBANKOWY_NRRBWhen RachunekBankowy element is filled, NrRB is mandatory (nested obligation) (§2.2,…Fehler
REQUIRED_ELEMENT_MISSINGRequired element missing according to schemaFehler
REVERSE_CHARGE_CONSISTENCYReverse chargeWarnung
RODZAJ_FAKTURY_SECTIONSInvoice type determines required sectionsFehler
SCHEMA_VALIDATION_FAILEDXML does not conform to FA(3) XSD schemaFehler
SELF_BILLING_PODMIOT3_CONFLICTSelf-billing (P_17 = '1')Warnung
TAX_CALCULATION_MISMATCHTax calculation errorFehler
TRANSPORT_MINIMUM_DATATransport requiresWarnung
WALUTA_UMOWNA_PLNWalutaUmowna must NEVER be 'PLN' (§13.1, Appendix D #10)Fehler
XML_BOM_PRESENTFile starts with a UTF-8 BOMFehler
XML_DISCOURAGED_CHARACTERCharacter discouraged by the W3C XML spec ([#x7F-#x84], [#x86-#x9F], [#xFDD0-#xFDEF],…Fehler
XML_DISCOURAGED_CHARACTER_MORESummaryFehler
XML_ENCODING_NOT_UTF8XML declaration names an encoding other than UTF-8Fehler
XML_PROCESSING_INSTRUCTIONXML processing instruction (e.gFehler
XML_PROCESSING_INSTRUCTION_MORESummaryFehler
ZWOLNIENIE_LOGICZwolnienieFehler