What can we help you find? Products Coupa Product Documentation Supplier Resources For Suppliers Supplier Integration Resources cXML Error Handling Invalid attributes in document. Validation failed: Invoice lines order line must be the same type as invoice line...

Invalid attributes in document. Validation failed: Invoice lines order line must be the same type as invoice line...

Invalid attributes in document. Validation failed: Invoice lines order line must be the same type as invoice line...

The supplier is sending a cXML invoice to Coupa that contains service line items with the improper tags.

How do I fix this?

The supplier should check that the service line items contain service line tags. For reference, see Sample cXml Service Type Invoice.

Example

<Status text="Expectation Failed" code="417">Invalid attributes in document. [Validation failed: Invoice lines order line must be the same type as invoice line, Invoice Lines is invalid Invoice header: Invoice lines order line must be the same type as invoice line, Invoice Lines is invalid Invoice line XX: PO Line must be the same type as invoice line]</Status>