Errors not detected by W3C XML schema
One date must be later than another
Truugo
Condition:
Invoice due date (InvoiceDueDate) is later than invoice issue date (InvoiceDate).
Error notice:
Line 15: PaymentTermsDetails/InvoiceDueDate="20120123" (InvoiceDate="20120130")
Total amount must match the sum of line amounts
Truugo
Condition:
Tax exclusive total invoice amount stated on an invoice header matches sum of line level tax exclusive amounts (RowVatExcludedAmount).
Error notice:
Line 33: InvoiceDetails/InvoiceTotalVatExcludedAmount=2012,00 (Row sum: 2012,12)
Total amount must match the sum of line amounts where lines match a specific criteria
Truugo
Condition:
Tax amount (VatRateAmount) of each tax subtotal (VatSpecificationDetails) matches a sum of line level tax amounts (RowVatAmount) having a same VAT percent.
Error notice:
Line 23: InvoiceDetails/VatSpecificationDetails[VatRatePercent=23]/VatRateAmount=1230,30 (Row sum: 1340,30)
Identifier must match its identification scheme
Truugo
Condition:
BIC (SellerBic) and IBAN (SellerAccountID) refer to same bank or bank group on invoicer's account details.
Error notice:
Line 18: SellerAccountDetails/SellerAccountID="FI2112345600000785" (SellerBic="OKOYFIHH", expected:"NDEAFIHH")
Subtotal must exist for each specified category
Truugo
Condition:
Tax subtotal exists for each tax percent (RowVatRatePercent) specified on invoice lines.
Error notice:
Line 21: InvoiceDetails/VatSpecificationDetails (missing tax subtotal for VAT percent "23")