Malaysia v2: Peppol Unify errors
The validation error messages the Malaysia Peppol Unify API v2 (legacy) can return, with the request field each one refers to.
These are the validation error messages the Peppol Unify API can return. Each one names the request field to check.
Validation errors
| Message | Field |
|---|---|
| Document ID is missing! Please provide a valid Document ID. This field cannot be null. | documentId |
| Document ULID is missing! Please provide a valid ULID. This field is mandatory and cannot be null. | documentUlid |
| Document Issue Date is missing! Please provide the issue date of the document in ‘YYYY-MM-DD’ format. This field is mandatory. | documentIssueDate |
| Document Issue Time is missing! Please provide the issue time in ‘HH:MM:SS’ format. This field is mandatory. | documentIssueTime |
| Invoice Start Date is missing! Please provide the start date of the invoice in ‘YYYY-MM-DD’ format. | invoiceStartDate |
| Invoice End Date is missing! Please provide the end date of the invoice in ‘YYYY-MM-DD’ format. | invoiceEndDate |
| Invoice End Date is invalid! The end date must be after the start date of the invoice. Please check and update the dates. | invoiceEndDate |
| Invoice Frequency is missing! Please provide the frequency of the invoice. It must match one of the predefined valid codes. | invoiceFrequency |
| Supplier Participant ID is missing! Please provide a valid Supplier Participant ID. This field cannot be empty. | supplierParticipantId |
| Seller Tax Identification Number (TIN) is missing! Please provide a valid Seller TIN. This field is mandatory. | sellerTinNumber |
| Currency is missing! Please provide a valid currency code in ISO 4217 format (e.g., ‘USD’, ‘MYR’). | currency |
| Tax Currency does not match Invoice Currency! If the Tax Currency is provided, it must match the Invoice Currency. | taxAccountingCurrency |
| Shipping Tax Identification Number (TIN) is missing! If shipping information is provided, the TIN is mandatory. | shippingTinNumber |
| Seller TIN exceeds the maximum length! The Seller TIN must not exceed 14 digits. Please check and correct the TIN value. | sellerTinNumber |
| Buyer TIN exceeds the maximum length! The Buyer TIN must not exceed 14 digits. Please check and correct the TIN value. | buyerTinNumber |
| Shipping Recipient TIN exceeds the maximum length! The Shipping Recipient TIN must not exceed 14 digits. Please check and correct the TIN value. | shippingRecipientTin |
| Quantity cannot be zero or negative! Please provide a positive value for the quantity of the line item. | documentLineItems.quantity |
| Line Item ID is missing! Each line item must have a unique ID. Please provide a valid Line Item ID. | documentLineItems.lineItemId |
| Description exceeds the maximum length! The description of a line item must not exceed 300 characters. Please shorten the description. | documentLineItems.description |
| Unit Price is invalid! The unit price must be a positive number and can have up to 2 decimal places. It cannot be zero or negative. | documentLineItems.unitPrice |
| Discount Amount is invalid! If a discount is provided, it must be a positive number with up to 2 decimal places. Negative values are not allowed. | documentLineItems.discountAmount |
| Tax Percentage is invalid! The tax percentage must be between 0 and 100. Please correct the value. | documentLineItems.taxPercentage |
| Total Excluding Tax is invalid! It must equal (unitPrice * quantity) + charge - discount. Please check and correct the calculation. | documentLineItems.lineTotalExcludingTax |
| No line items found! Each document must contain at least one line item. Please add line items to the document. | documentLineItems |
| Total Payable Amount is incorrect! It must equal the total amount of the invoice, including all taxes and adjustments. | totalPayableAmount |