SAP Knowledge Base Article - Preview

3715896 - Why did my invoice fail with Error: "Attribute 'category' must appear on element 'TaxDetail'"?

Symptom

When posting an invoice to SAP Business Network, it fails with the following error:

Validation failed for: com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchema@b84a920
errors: [org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'InvoiceDetailOrder' is not complete. One of '{InvoiceDetailReceiptInfo, InvoiceDetailShipNoticeInfo, InvoiceDetailItem, InvoiceDetailServiceItem}' is expected., Line : 1, Column : 2993
org.xml.sax.SAXParseException: cvc-complex-type.4: Attribute 'category' must appear on element 'TaxDetail'., Line : 1, Column : 3193
]. Exchange[465AE2BAECD334B-000000000002EE53]


Read more...

Environment

SAP Business Network.

Product

SAP Business Network for Procurement and SAP Business Network for Supply Chain all versions

Keywords

KBA , SBN-AN-INT-INV , CXML Invoices , SBN-AN-TX-INV , Transaction (Invoicing) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.