BR-30: If both Invoice line period start date (BT-134) and Invoice line period end date
Schweregrad: fatal · Syntax: CII, UBL
Offizielle Meldung
If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134).
Was bedeutet das?
Die offizielle Meldung lautet: If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). Diese Seite ergänzt keine weitere Pflicht.
Typische Ursache
Die Prüfbedingung im genannten Kontext ist für diese Datei fehlgeschlagen.
So beheben Sie es
Passen Sie die Datei so an, dass die Prüfbedingung besteht, und prüfen Sie sie erneut. Die Seite hilft Ihnen, die Regel zu lesen.
Business Term
BT-134, BT-135
Verwandte Regeln
Kontext und Prüfbedingung
UBL cac:InvoiceLine/cac:InvoicePeriod | cac:CreditNoteLine/cac:InvoicePeriod
CII //ram:SpecifiedLineTradeSettlement/ram:BillingSpecifiedPeriod
UBL
(exists(cbc:EndDate) and exists(cbc:StartDate) and xs:date(cbc:EndDate) >= xs:date(cbc:StartDate)) or not(exists(cbc:StartDate)) or not(exists(cbc:EndDate))CII
(ram:EndDateTime/udt:DateTimeString[@format = '102']) >= (ram:StartDateTime/udt:DateTimeString[@format = '102']) or not (ram:EndDateTime) or not (ram:StartDateTime)
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate