Data Mart API - 2026-10-02
In this release:
- Supplier documents, payments and payment lines: new fields on
SupplierDocument,SupplierPaymentandSupplierPaymentLine. - APHistoricalData: new query, disabled in Production while testing is in progress.
Supplier documents, payments and payment lines
The existing SupplierDocument type exposes released, voided, prebooked and installmentCntr. The existing SupplierPayment type exposes paymentDate, financialPeriod, branchId, paymentAmountInBaseCurrency (base currency; paymentAmount stays in document currency) and voided. The existing SupplierPaymentLine type exposes released, voided, postPeriodId, amountApplied, amountAppliedInCurrency, cashDiscountApplied, cashDiscountAppliedInCurrency, withholdingTaxApplied, withholdingTaxAppliedInCurrency and voidAdjNbr.
These supplier fields require the corresponding API and ETL deployment plus completed backfills before their values can be used. The backfills update updatedInDataMartDateTime, so an incremental fetch picks up the values without a full reimport. They are separate from the APHistoricalData collection, which remains disabled in Production while testing is in progress; its first import is not available. See the Historic payables data guide for the field and join details.
SupplierPayment.financialPeriod and SupplierPaymentLine.postPeriodId are nullable. They are always set for active records, but a record that has not been backfilled yet, or a deleted record that was removed from ERP before the field existed, returns null.
APHistoricalData
APHistoricalData is disabled in Production while testing is in progress. The new apHistoricalData query and APHistoricalData type are documented for reference, but the ETL is not available for Production use. The query requires the accounting_read scope, the same as arHistoricalData. See the Historic payables data guide for the documented keys, balances and supplier-document/application relationships.