fatalPeppol BIS Billing 3.0profileUBL
Greek Suppliers must provide the VAT number of the buyer, if the buyer is Greek
The buyer is Greek but has no VAT number on the invoice.
Add the buyer's VAT identifier (BT-48) with the EL prefix.
UBL — context cac:AccountingCustomerParty[$isGreekSenderandReceiver]/cac:Party
count(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/cbc:CompanyID)=1 and substring(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/cbc:CompanyID,1,2) = 'EL' and u:TinVerification(substring(cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) = 'VAT']/cbc:CompanyID,3))
Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.