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")

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)

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)

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")

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")