Context
PH
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cbc:AllowanceChargeReasonCode
VRBL-Invoice-PH-1p0 - Document Level Allowance Reason Code
Philippines |
VRBL-Invoice-PH-1p0
| Context ID | INV0888 |
| Usage | O |
| Format | Code |
Description
The reason for the document level allowance, expressed as a code.
In case of using 95 (Regular discount) or 100 (special discount), the total amount of these discounts must equal the sum of these discounts at the line level.
Details
vrbl-invoice-ph-1p0
| Code | Description |
|---|---|
VRBL:PH:SC |
Senior citizen discount amount |
VRBL:PH:PWD |
Person with disability discount amount |
95 |
Regular discount amount (UNCL5189) |
100 |
Special discount amount (UNCL5189) |
Example: VRBL_PH_CAS_invoice_max.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<!-- ... omitted for readability -->
<cbc:AllowanceChargeReasonCode>VRBL:PH:SC</cbc:AllowanceChargeReasonCode>
<!-- ... omitted for readability -->
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PH-1p0-3 | The value of the Document Level Allowance Reason Code must be contained in Allowance Reason Code (subset of UNCL 5189) [VRBL-CL-PH-AllowanceReasonCode-UNCL5189] or be contained in Allowance Reason Code (Philippines Extension) [VRBL-CL-PH-AllowanceReasonCode-Extension] (prefixed by 'VRBL:PH:'). |