DK-R-016
For Danish Suppliers, a Credit note cannot have a negative total (PayableAmount)
About
- ID
DK-R-016- Flag
- fatal
- Context
pxs-taxdata:TaxData/pxs-taxdata:ReportedTransaction/pxs-taxdata:ReportedDocument[$DKSupplierCountry = 'DK' and $DKCustomerCountry = 'DK']- Test
not((cbc:DocumentTypeCode = ('381','396','81','83','532')) and (number(pxs-taxdata:MonetaryTotal/cbc:PayableAmount/text()) < 0))