Invalid attributes in document. Invoice line XX: Account NA does not exist or is not active

Non-existing or inactive accounts appear in a cXML invoice error report.

The account, referred to in an invoice from the supplier, does not exist or the account is inactive.

How can I fix it?

There are a number of ways this can be resolved, depending on the situation:

  1. If the invoice is sent with no PO number or a valid PO number is not determined, Coupa will perform a check for published Contracts that match Supplier Account Number + Supplier OpCo Supplier Number.
  2. If the Contracts match the conditions, Coupa will perform a concatenation of “Supplier Customer Account Number-CMIM Level 1” and then perform a validation of this combination to the Lookup Values table. 
  3. If a match is found, Coupa will post the invoice against the contract but utilize the lookup value Description to populate the billing account string
  4. If no match is found, Coupa will post the invoice against the contract but utilize the default billing string referenced on the contract. Coupa will also add a record to the monitoring database to reference scenario. 
  5. If the contract billing string is inactive on either the lookup or the Contract default value, the cXML post will fail and the error will be included in the monitoring report. 
  6. If the lookup exists but the billing string entered in the lookup is invalid, the cXML post will fail and the error will be included in the monitoring report. 
  7. If no CMIM is available on the Supplier Invoice Line Item record, Coupa will post the invoice against the contract but utilize the default billing string referenced on the contract. Coupa will also add a record to the monitoring database to reference scenario. 
  8. If matching contract is found without a default billing string, Coupa will post Invoice to draft status. You will then need to assign the appropriate account string and approve.
  9. If no contract matches the conditions, create an invoice in draft status against the dummy supplier/contract. You will then need to assign the appropriate account string and approve.

Example

<Accounting name="na">
	<AccountingSegment id="24474">
		<Name xml:lang="en" />
		<Description xml:lang="en" />
	</AccountingSegment>
	<AccountingSegment id="540509">
		<Name xml:lang="en" />
		<Description xml:lang="en" />
	</AccountingSegment>
	<AccountingSegment id="030">
		<Name xml:lang="en" />
		<Description xml:lang="en" />
	</AccountingSegment>
</Accounting>