Error message

  • 1
  • Problem
  • Updated 4 years ago
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Old

We are receiving emails with the following error messages;
EDI Interchange Control Number: 000005695 EDI Group Control Number: 5695 EDI Transaction Control Number: 56950007


ShipToLocationNumber: 30370730003

InvoiceDate: 2016-02-16

PurchaseOrderNumber: PO1765894

InvoiceTotal: 866.84

ShipToLocation: TACO BELL 29502

InvoiceNumber: 860003


InvoiceNumber:860003  Invalid data 400 in AllowChrgCode in line 33, column 47. The value '400' is not one of the possible choices [D240, D340, D500, F180, F340, H400, I390] in AllowChrgCode


InvoiceNumber:860003  Missing element: expect AllowChrgCode before ending ChargesAllowances in line 36,column 29


InvoiceNumber:860003  Missing element: expect AllowChrgHandlingDescription before ending ChargesAllowances in line 36,column 29



An error has occurred while processing the document referenced above. If you would like assistance to resolve the error or need additional information, please visit our Support Center and choose one of our convenient contact channels to connect with a support representative.


Support Center - Get Help. Give Help. Share Ideas.

Chat Us | Email Us | Call Us

Kind regards,

SPS Customer Operations Team

Photo of Tim O'Connor

Tim O'Connor

  • 70 Points

Posted 4 years ago

  • 1
Photo of Katrina Wolyniec

Katrina Wolyniec

  • 3,762 Points 3k badge 2x thumb

Thank you for posting to the Support Center.

For this error message it is referring to the data you have sent in invoice: 860003.

I took a look at the data and found:

ChargesAllowances -
         AllowChrgIndicator - C
         AllowChrgCode - 400
         AllowChrgAmt - 116.84
         AllowChrgHandlingCode - 06

In the error message it states that 400 is not a valid AllowChrgCode but one option is H400.  If you meant to put that, you will need to correct the data and resend the invoice.

The rest of the error says that it is expecting an AllowChrgCode line, so you will want to review that area of the invoice and ensure you have all the elements needed.  It may not be registering that you have the line there because of the invalid data.

It is also states that it is expecting a  AllowChrgHandlingDescription in the data.  You will need to add that as well.

I would change the line to H400 if that is the correct code for your company and then add the missing information and resend the data.

Let us know if you have any further questions,

SPS Commerce Infinite Retail Power

Katrina Wolyniec

Senior Analyst | Fulfillment Support 

P: 1-888-739-3232 Option 1


[]Support Center – Get Help. Give Help. Share Ideas.

This conversation is no longer open for comments or replies.