Customer Posting Groups
GETTable: Customer Posting Group
"Read-only customer posting groups, and the receivables control account each one posts to. The code is already published on the records that carry it; this is what the code means."
Why you need it
The posting group code appears on masters and documents throughout this API. What it does not tell you is which G/L accounts it directs postings to, and that mapping is the whole point of a posting group.
With this feed a report can tie a subledger balance back to the control account it posts to, and show the chart-of-accounts consequence of a master-data choice.
Reconciling receivables
receivablesAccount is the account customer balances land in. Group custLedgerEntries by customerPostingGroup, join here, and the total per account is what generalLedgerEntries should show for that account. A difference is a genuine reconciliation finding rather than a modelling artifact.
Volume
A handful of rows at most customers. Refresh it on every run.