Retained Earnings / unrealised FX (system account) journals
Xero has 'system' accounts where journals are not posted, but values are calculated by reports. Therefore when pulling the journals from Xero, we can not accruately recreate the balance sheet and P&L (as vital journals are missing). Therefore in this respect the Xero API is incomplete.
Specific examples of the Journals API misses:
- Retained Earnings journals (this is instead calculated by a report)
- Unrealised FX journals (again calculated and shown only in the report)
- May also be the case for other system accounts.
The calculations made by the reports could be made available via the API to provide a complete set of journals in the API. This would allow third party developers to mirror the full transaction level journal detail that should exist in Xero, and accurately recreate the P&L and Balance Sheet at each period end date based on the conversion balances and all journals posted since.
Swati Shroff commented