I’m reading through the documentation on AshDoubleEntry, and I can’t really determine whether it is possible to use that module to create multi-leg transactions.
It seems like the TransferResource defines a from_account
and to_account
, which to me indicates that it might not be possible?
To be clear, a multi-leg transaction is something like this:
Account | Debit | Credit |
---|---|---|
Small acquisitions | 100 | |
Purchase VAT | 25 | |
Bank account | 125 |