SAP Knowledge Base Article - Public

3781619 - EU Triangular Deal indicator not being transferred in API Journal Entry - Post in SAP S/4HANA Cloud Public Edition

Symptom

When posting journal entries via API, the EU Triang. Deal field is not being transferred to the posted document even though it is set in the payload as <IsEUTriangularDeal>true</IsEUTriangularDeal>.

Environment

SAP S/4HANA Cloud Public Edition.

Reproducing the Issue

  1. Use the API Journal Entry - Post to post a journal entry with a customer (DebtorItem) line item and set IsEUTriangularDeal to "true".
  2. Post the journal entry; the service returns no errors or warnings.
  3. Open the posted accounting document and check the customer line item; the EU Triangular Deal checkbox remains unchecked.

Cause

The EU Triangular Deal flag (XEGDR) depends on the VAT Registration Number (STCEG) being present on the BSEG line item; if VAT registration is not provided/saved for the item, the IsEUTriangularDeal indicator is not persisted.

Resolution

1. In the API Journal Entry - Post payload, include the VAT registration element in the customer (DebtorItem):

<VATRegistration>?</VATRegistration>
<IsEUTriangularDeal>true</IsEUTriangularDeal>

2. Post the journal entry again and verify that the Triangular Deal indicator is selected on the debtor item.

See Also

Keywords

IsEUTriangularDeal, triangular deal, JournalEntryBulkCreateRequest, API Journal Entry - Post, DebtorItem, customer line item, Op.triang, XEGDR, STCEG, VATRegistration, BSEG, RFASLD20, tax indicator, accounting document, public cloud API , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions