Invalid attributes in document. Extra shipping/handling/misc charges are not permitted

The cXML invoice does not contain the correct header parameters.

The cXML invoice does not contain the correct header parameters.

How do I fix this?

Request header name and value should be set as follows:
Accept: application/xml
Content-type: text/xml

Example


<Status text="Expectation Failed" code="417">Invalid attributes in document. [Extra shipping/handling/misc charges are not permitted]</Status>