OData Services & Data Model

A single entity carries the open item — including clearing, dunning data, and references to SD.

In FI-AR, the open item is a line of an accounting document (classically BSID/BSAD, today the Universal Journal). The released API for this is called API_OPLACCTGDOCITEMCUBE_SRV and delivers the entity A_OperationalAcctgDocItemCube with 267 properties — including the clearing fields, the dunning fields, and the references to the sales order and invoice. That's exactly why the two optional scopes of this integration are cheap.

The Services

RoleServiceEntities (Key)Scope
Open ItemAPI_OPLACCTGDOCITEMCUBE_SRV (OData V2)A_OperationalAcctgDocItemCube (CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem)Required
Master DataAPI_BUSINESS_PARTNER (OData V2)A_BusinessPartner · A_BusinessPartnerAddress · A_BusinessPartnerBank · A_BusinessPartnerTaxNumber · A_Customer · A_CustomerCompany (Customer, CompanyCode) · A_CustomerDunning (Customer, CompanyCode, DunningArea)Required
Vendorthe same two servicesA_Supplier · A_SupplierCompany; the items via FinancialAccountType = 'K'optional (FI-AP)
Sales OrderAPI_SALES_ORDER_SRVA_SalesOrder · A_SalesOrderItem · A_SalesOrderHeaderPartneroptional (SD)
InvoiceAPI_BILLING_DOCUMENT_SRVA_BillingDocument · A_BillingDocumentItem; also delivers the invoice PDFoptional (SD)

As an alternative for the item, there is API_JOURNALENTRYITEMBASIC_SRV. It keys on a technical ID instead of the document key — for a delta extraction that needs to update on the same key as Bilendo, that's the weaker anchor. In the Public Cloud, CE_API_ACCOUNTING_DOCUMENT_0001 ("Receivable Item – Read", OData V4) is additionally available; it doesn't exist in the On-Premise package, so it's not a common denominator.

Two Things That Don't Exist

Delta Capability

Unlike Contract Accounts Receivable and Payable, the FI-AR item carries a change timestamp. Three filters, because a clearing doesn't move the timestamp in every system:

ObjectChange TimestampImpact on the Delta
A_BusinessPartnerLastChangeDate + LastChangeTimeFilter on the timestamp.
A_Customer / A_CustomerDunningnoneCarried along via the business partner; the dunning data is a small set and is read in full.
A_OperationalAcctgDocItemCubeLastChangeDate, AccountingDocumentCreationDate + CreationTimeNew items via PostingDate, changes via LastChangeDate, clearings additionally via ClearingDate.
Orders / InvoicesLastChangeDateSecondary, only for numbers referenced by a delivered item.

All windows start one day before the watermark. The same row appearing twice is harmless — Bilendo updates it.