BT-20Payment termsBT-115Amount due for payment
Oficjalna treść reguły
[DE-R-018] Information on cash discounts for prompt payment (Skonto) shall be provided within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage must be separated by dot with two decimal places. In case the base value of the invoiced amount is not provided in BT-115 but as a partial amount, the base value shall be provided as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with a #, the segments must be separated by # and a row shall end with a #. A complete statement on cash discount for prompt payment shall end with a XML-conformant line break. All statements on cash discount for prompt payment shall be given in capital letters. Additional whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts than defined above are not allowed.
Tekst normatywny jest w języku angielskim i cytowany bez zmian.
Dlaczego pojawia się ten błąd
Wartość istnieje, ale nie pasuje do wymaganego wzorca: zły format daty, IBAN z błędną cyfrą kontrolną, adres e-mail o niepoprawnej budowie, URL bez schematu lub tekst z niedozwolonymi znakami.
Jak to naprawić
Popraw wartość zgodnie z formatem wskazanym w regule: daty jako RRRR-MM-DD w UBL i RRRRMMDD z format="102" w CII, IBAN bez spacji i z poprawną sumą kontrolną, e-mail z dokładnie jednym @, URL zaczynający się od http:// lub https://.
Co sprawdza walidator
Sprawdzany element (kontekst):
UBL
(/ubl-invoice:Invoice | /ubl-creditnote:CreditNote)[$supplierCountryIsDE and $customerCountryIsDE]Test (XPath):
every $line in cac:PaymentTerms/cbc:Note[1]/tokenize(. , '(\r?\n)')[starts-with( normalize-space(.) , '#')] satisfies matches ( normalize-space ($line), $XR-SKONTO-REGEX) and matches( cac:PaymentTerms/cbc:Note[1]/tokenize(. , '#.+#')[last()], '^\s*\n' )
Sprawdź swoją fakturę
Upuść plik XML lub PDF w walidatorze; każda naruszona reguła ma link do swojej strony tutaj. Bezpłatnie, bez konta, plik nie jest zapisywany.
To samo sprawdzenie przez API:
curl -F file=@invoice.xml https://einvoicechecker.com/v1/validatePowiązane reguły
DE-R-001Faktura musi zawierać informacje "INSTRUKCJE PŁATNICZE"DE-R-002Należy podać grupę "DANE KONTAKTOWE SPRZEDAWCY"DE-R-003Należy podać element "Miejscowość sprzedawcy"DE-R-004Należy podać element "Kod pocztowy sprzedawcy"DE-R-005Należy podać element "Osoba kontaktowa sprzedawcy"DE-R-006Należy podać element "Telefon kontaktowy sprzedawcy"DE-R-007Należy podać element "E-mail kontaktowy sprzedawcy"DE-R-008Należy podać element "Miejscowość nabywcy"
Najczęstsze pytania
Co oznacza DE-R-018?
DE-R-018 to krajowa reguła peppol: Information on cash discounts for prompt payment (Skonto) shall be provided within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage must be separated by dot with two decimal places. In case the base value of the invoiced amount is not provided in BT-115 but as a partial amount, the base value shall be provided as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with a #, the segments must be separated by # and a row shall end with a #. A complete statement on cash discount for prompt payment shall end with a XML-conformant line break. All statements on cash discount for prompt payment shall be given in capital letters. Additional whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts than defined above are not allowed.
Czy moja faktura zostanie odrzucona z powodu DE-R-018?
Tak. DE-R-018 ma status „krytyczny”; walidatory (KSeF, punkty dostępowe Peppol, KoSIT) odrzucają fakturę do czasu poprawienia błędu.
Jakich formatów dotyczy DE-R-018?
Tylko gdy sprzedawca (w niektórych regułach nabywca) ma siedzibę we wskazanym kraju; wyzwalaczem jest kod kraju strony. Składnia: UBL.
Źródło: Peppol BIS Billing 3.0.20 national rules (November 2025). Katalog wygenerowany z oficjalnych zestawów reguł dnia 2026-10-15.