I have a script that dumps transactions from all my accounts. However, I am trying to implement double-entry bookkeeping and I am facing an issue. I cannot see transactions for deleted accounts because they are not returned in the API response. Ideally, accounts and their histories should be returned as archived so that I can still query them for transactions, including those between deleted and active accounts.
Right now, I have gaps in my transaction history because I cannot access transactions for deleted accounts.
The API should return transactions for deleted accounts as archived. This way, I can still access the transaction history for deleted accounts.