BT-149Item price base quantityBT-150Item price base quantity unit of measure code
Oficjalna treść reguły
[BR-TMP-3] If BT-149 (Item price base quantity) is present in both GrossPriceProductTradePrice and NetPriceProductTradePrice, the values must be identical. If BT-150 (unit of measure code) is present on the NetPrice path, it must also be present on the GrossPrice path and be identical.
Tekst normatywny jest w języku angielskim i cytowany bez zmian.
Dlaczego pojawia się ten błąd
Ta reguła obowiązuje tylko wtedy, gdy inne pole ma określoną wartość (np. kod formy płatności lub typ faktury). Plik spełnia warunek, ale nie dostarcza danych, które stają się wtedy obowiązkowe, albo zawiera dane wtedy zabronione.
Jak to naprawić
Zmień wartość wyzwalającą, aby warunek przestał obowiązywać, albo dodaj/usuń elementy zależne zgodnie z treścią reguły. W teście XPath powyżej widać dokładnie, która wartość uruchamia warunek.
Co sprawdza walidator
Sprawdzany element (kontekst):
CII
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItemTest (XPath):
not(ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:BasisQuantity and ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity) or (ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:BasisQuantity = ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity and (not(ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity/@unitCode and ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:BasisQuantity/@unitCode) or ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:BasisQuantity/@unitCode = ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:BasisQuantity/@unitCode))
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
BR-TMP-2BT-124 "Lokalizacja dokumentu zewn." musi być bezwzględnym URL z poprawnym schematemBR-TMP-4BT-123 "Opis dokumentu uzupełniającego" (ram:Name) może wystąpić najwyżej raz w…BR-TMP-5BT-125 "Załączony dokument" (ram:AttachmentBinaryObject) najwyżej raz w…BR-TMP-6Daty w UBL muszą być przekazywane w formacie YYYY-MM-DDBR-TMP-7Daty w UNCEFACT/CII muszą mieć atrybut format="102" i być przekazywane w…
Najczęstsze pytania
Co oznacza BR-TMP-3?
BR-TMP-3 to reguła xrechnung: If BT-149 (Item price base quantity) is present in both GrossPriceProductTradePrice and NetPriceProductTradePrice, the values must be identical. If BT-150 (unit of measure code) is present on the NetPrice path, it must also be present on the GrossPrice path and be identical.
Czy moja faktura zostanie odrzucona z powodu BR-TMP-3?
Tak. BR-TMP-3 ma status „krytyczny”; walidatory (KSeF, punkty dostępowe Peppol, KoSIT) odrzucają fakturę do czasu poprawienia błędu.
Jakich formatów dotyczy BR-TMP-3?
XRechnung w składni UBL lub CII, w tym PDF ZUGFeRD / Factur-X z profilem XRECHNUNG. Faktury dla niemieckich instytucji publicznych muszą ją spełniać. Składnia: CII.
Źródło: XRechnung 3.0.2, schematron 2.6.0 (KoSIT, September 2026). Katalog wygenerowany z oficjalnych zestawów reguł dnia 2026-10-15.