Skip to content

SPS Document Processing Error on AllowChrgAmt

Release: 12/31/2019
Updated: 7/10/23
Version: All

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
AllowChrgAmt
- XPath: /Invoice/LineItem/ChargesAllowances/AllowChrgAmt
What does that mean?

AThere’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.

The other option is to choose whether the _CHRGALLOW attribute information is exported on a customer by customer basis. This is configured through the Customer EDI Profile Maintenance-> Screen 7-> Field 12. Export CHRGALLOW Attribute. See https://support.elliott.com/knowledgebase/articles/2006068-feature-optionally-export-chrgallow-attribute-d for more information.

Even if it the 1% advertising allowance is valid, you can still delete this line item attribute and re-export or choose not to export the data. 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.  


EMK

Feedback and Knowledge Base