DK-R-004
When specifying non-VAT Taxes for Danish customers, Danish suppliers MUST use the AllowanceChargeReasonCode="ZZZ" and MUST be specified in AllowanceChargeReason; Either as the 4-digit Tax category or must include a #, but the # is not allowed as first and last character
About
- ID
DK-R-004- Flag
- fatal
- Context
cac:AllowanceCharge[$DKSupplierCountry = 'DK' and $DKCustomerCountry = 'DK']- Test
not((cbc:AllowanceChargeReasonCode = 'ZZZ') and not(((string-length(normalize-space(cbc:AllowanceChargeReason/text())) = 4) and (number(cbc:AllowanceChargeReason) >= 0) and (number(cbc:AllowanceChargeReason) <= 9999)) or (((cbc:AllowanceChargeReason and contains(cbc:AllowanceChargeReason, '#') and not(starts-with(cbc:AllowanceChargeReason, '#')) and not(ends-with(cbc:AllowanceChargeReason, '#')))) ) ) )- Rules
-
- DK-R-004 When specifying non-VAT Taxes for Danish customers, Danish suppliers MUST use the AllowanceChargeReasonCode="ZZZ" and MUST be specified in AllowanceChargeReason; Either as the 4-digit Tax category or must include a #, but the # is not allowed as first and last character
- Syntax binding
-
- pxs:TaxData / pxs:ReportedTransaction / pxs:ReportedDocument / cac:AllowanceCharge / cbc:AllowanceChargeReasonCode
- pxs:TaxData / pxs:ReportedTransaction / pxs:ReportedDocument / cac:AllowanceCharge / cbc:AllowanceChargeReason
- pxs:TaxData / pxs:ReportedTransaction / pxs:ReportedDocument / cac:AllowanceCharge / cbc:AllowanceChargeReasonCode
- pxs:TaxData / pxs:ReportedTransaction / pxs:ReportedDocument / cac:AllowanceCharge / cbc:AllowanceChargeReason
- pxs:TaxData / pxs:ReportedTransaction / pxs:ReportedDocument / pxs:DocumentLine / cac:AllowanceCharge / cbc:AllowanceChargeReasonCode
- pxs:TaxData / pxs:ReportedTransaction / pxs:ReportedDocument / pxs:DocumentLine / cac:AllowanceCharge / cbc:AllowanceChargeReason
- pxs:TaxData / pxs:ReportedTransaction / pxs:ReportedDocument / pxs:DocumentLine / cac:AllowanceCharge / cbc:AllowanceChargeReasonCode
- pxs:TaxData / pxs:ReportedTransaction / pxs:ReportedDocument / pxs:DocumentLine / cac:AllowanceCharge / cbc:AllowanceChargeReason