Q - I received an email from SPS Commerce showing this message:
InvoiceNumber:708241 InvoiceNumber:708241 Missing element: expect AllowChrgAmt before ending ChargesAllowances in line 106,column 25
- XPath: /Invoice/LineItem/ChargesAllowances/AllowChrgAmt
What does that mean?
A - There’s a Charges Allowances Code A260 attached to the line item. See attached screen below.
A260 means “Costs related to advertising goods and company brand.” So it seems you have a 1% advertising allowance for this line item. The error message is questioning why there is no allowance amount on the invoice even though there is an allowance code on the invoice (line item).
If the 1% advertising allowance is not valid, you can delete the _CHRGALLOW01 attribute from the invoice line item (go to Invoice Inquiry for invoice# 708241, use the up arrow key to highlight the line item, bring up the attribute list and delete it) and re-export the invoice again. If it is valid, then you will have to handle this invoice manually through the SPS web form portal. We don’t have a way to handle EDI allowances in Elliott. Allowance is a known issue during sales order import, so we will show any allowances on the imported order as a “warning," such as the following:
Verify _CHRGALLOW* Attrib & Del Them If Disagree!
Even if it the 1% advertising allowance is valid, you can still delete this line item attribute and re-export. Then at least we will pass SPS checking. What will happen with your trading partner at that point is unknown. They may reject this invoice, which means you will have to handle the invoice through the SPS web form portal, or they may accept the invoice and pay you 1% less anyway. We are not sure what will happen, but it is interesting to explore this direction to give you a guideline on how to handle EDI allowances from trading partners in the future.