Toate codurile de eroare › DE-R-019
DE-R-019 – The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58…
Ce spune regula
The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81).
Cum o repari
Completează sau corectează câmpurile din textul regulii (codurile BT/BG arată exact care sunt). Condiția de mai jos arată ce verifică validatorul în XML. Cel mai rapid: validează factura și vei primi linia exactă și, la sume, valoarea corectă.
Este un avertisment, nu o eroare: în mod normal nu duce la respingerea facturii, dar e bine să-l elimini.
Lipește XML-ul și vezi toate erorile, cu corectura exactă și valoarea corectă.
Unde se verifică în XML
Context: (/ubl-invoice:Invoice/cac:PaymentMeans[cbc:PaymentMeansCode = (30,58)] | /ubl-creditnote:CreditNote/cac:PaymentMeans[cbc:PaymentMeansCode = (30,58)])[$supplierCountryIsDE and $customerCountryIsDE]
Condiția (XPath):
not(cbc:PaymentMeansCode = '58') or matches(normalize-space(replace(cac:PayeeFinancialAccount/cbc:ID, '([ \n\r\t\s])', '')), '^[A-Z]{2}[0-9]{2}[a-zA-Z0-9]{0,30}$') and xs:integer(string-join(for $cp in string-to-codepoints(concat(substring(normalize-space(replace(cac:PayeeFinancialAccount/cbc:ID, '([ \n\r\t\s])', '')),5),upper-case(substring(normalize-space(replace(cac:PayeeFinancialAccount/cbc:ID, '([ \n\r\t\s])', '')),1,2)),substring(normalize-space(replace(cac:PayeeFinancialAccount/cbc:ID, '([ \n\r\t\s])', '')),3,2))) return (if($cp > 64) then string($cp - 55) else string($cp - 48)),'')) mod 97 = 1Reguli înrudite
DE-R-001An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16)DE-R-002The group "SELLER CONTACT" (BG-6) shall be providedDE-R-003The element "Seller city" (BT-37) shall be providedDE-R-004The element "Seller post code" (BT-38) shall be providedDE-R-005The element "Seller contact point" (BT-41) shall be providedDE-R-006The element "Seller contact telephone number" (BT-42) shall be providedDE-R-007The element "Seller contact email address" (BT-43) shall be providedDE-R-008The element "Buyer city" (BT-52) shall be providedDE-R-009The element "Buyer post code" (BT-53) shall be providedDE-R-010The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER TO…DE-R-011The element "Deliver to post code" (BT-78) shall be provided if the group "DELIVER TO…DE-R-014The element "VAT category rate" (BT-119) shall be provided