Skip to main content

 

 

Coupa Success Portal

Invalid attributes in document. Validation failed: Invoice Lines is invalid Invoice header: Invoice Lines is invalid Invoice line XX: Qty precision must match UOM XX

The UOM Precision passed on the Invoice Line exceeds the configuration for that specific UOM's precision.

How do I fix this?

Review the UOM settings (Setup > Company Setup > Units of measure). In most cases, a discussion with the supplier will be needed to confirm what precision value should be used for the UOM. A validation should also be done with supplier on any other UOMs that may be passed with precision greater than what is configured in the Coupa instance.

To confirm the Invoice Line UOM Precision has been exceed, check the cXML Error Notification for the line referenced. For example: Error Message Line Reference: Invoice line 6885: Qty precision must match UOM (0).

Example


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.020/cXML.dtd">
<cXML xml:lang="en-US" timestamp="2015-03-06T07:57:47+00:00" payloadID="20150306 073212.229">
  <Response>
    <Status text="Expectation Failed" code="417">Invalid attributes in document. [Validation failed: Invoice Lines is invalid
Invoice header: Invoice Lines is invalid
Invoice line 6885: Qty precision must match UOM (2)]</Status>
  </Response>
</cXML>