Konto
Polski

DE-R-018: Informacje o skoncie za wcześniejszą zapłatę (Skonto) należy podać w…

Krajowa reguła Peppol · Błąd · UBL

StandardReguły krajowe Peppol BIS Billing 3.0 (NL, DE, IT, SE, DK, NO, GR, IS)KrajNiemcyWagaBłąd: faktura zostaje odrzuconaSkładniaUBLPojęcia biznesowe
  • BT-20 Payment terms
  • BT-115 Amount due for payment
DotyczyTylko gdy sprzedawca (w niektórych regułach nabywca) ma siedzibę we wskazanym kraju; wyzwalaczem jest kod kraju strony.

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.

Sprawdź swoją fakturę →

To samo sprawdzenie przez API:

curl -F file=@invoice.xml https://einvoicechecker.com/v1/validate

Powiązane reguły

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.