SAP Knowledge Base Article - Public

3793853 - eDocument Colombia: Support Document Rejected by DIAN with DSAU02 and DSAU04 for Fixed Asset Postings

Symptom

When a Colombia Support Document (Documento Soporte) is generated from a vendor invoice posting that involves a fixed asset acquisition, DIAN rejects the submitted XML with the following error codes:

  • DSAU02: Gross value before taxes is not equal to the sum of the line item values
  • DSAU04: Taxable base amount is different from the sum of line item taxable bases

The submitted XML shows LegalMonetaryTotal/LineExtensionAmount and LegalMonetaryTotal/TaxExclusiveAmount as 0.00, while the corresponding line-level amounts (InvoiceLine/LineExtensionAmount, InvoiceLine/TaxableAmount) are correct.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create a vendor invoice posting that results in an accounting document containing asset line items (account type A).
  2. Open the eDocument Cockpit and confirm that a Support Document has been generated.
  3. Submit the Support Document to DIAN.
  4. Observe that DIAN rejects the document with errors DSAU02 and DSAU04, and that LineExtensionAmount and TaxExclusiveAmount in the submitted XML contain value 0.00.

Cause

The Colombia Support Document mapping is designed to handle standard SD and FI document flows, where the taxable base is represented by G/L account line items.

Asset line items are not supported by this mapping. When the accounting document for a fixed asset posting does not contain G/L account lines for the base amount, the system calculates the net amount and taxable base as zero, resulting in an inconsistent XML structure that DIAN rejects.

Resolution

This is the expected system behavior, confirmed by the SAP Product Team. To handle fixed asset postings, a custom implementation is required using BAdI EDOC_ADAPTOR_CLOUD (method SET_OUTPUT_DATA).

Keywords

eDocument, Colombia, DIAN, Support Document, Documento Soporte, DSAU02, DSAU04, Fixed Asset, Asset Posting, Vendor Invoice, LineExtensionAmount, TaxExclusiveAmount, EDOC_ADAPTOR_CLOUD, Account Type
, KBA , CA-GTF-CSC-EDO-CO , Colombia , Problem

Product

SAP S/4HANA Cloud Public Edition all versions