Toate codurile de eroare › GR-R-001-4
GR-R-001-4 – When Supplier is Greek, the Invoice Id third segment must be a positive integer
Eroarepeppoldoar Peppol
Ce spune regula
When Supplier is Greek, the Invoice Id third segment must be a positive integer
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ă.
Lipește XML-ul și vezi toate erorile, cu corectura exactă și valoarea corectă.
Unde se verifică în XML
Context: /ubl-invoice:Invoice/cbc:ID[$isGreekSender] | /ubl-creditnote:CreditNote/cbc:ID[$isGreekSender]
Condiția (XPath):
string-length(normalize-space($IdSegments[3]))>0 and string(number($IdSegments[3])) != 'NaN' and xs:integer($IdSegments[3]) >= 0
Reguli înrudite
GR-R-001-1When the Supplier is Greek, the Invoice Id should consist of 6 segmentsGR-R-001-2When the Supplier is Greek, the Invoice Id first segment must be a valid TIN Number and…GR-R-001-3When the Supplier is Greek, the Invoice Id second segment must be a valid Date that…GR-R-001-5When Supplier is Greek, the Invoice Id in the fourth segment must be a valid greek…GR-R-001-6When Supplier is Greek, the Invoice Id fifth segment must not be emptyGR-R-001-7When Supplier is Greek, the Invoice Id sixth segment must not be empty