A transaction records an immutable set of postings. Start with explicit postings when your application already knows every movement. Use Numscript when Ledger must resolve routing, balances, or splits at execution time.
Create with postings
Write with Numscript
Reuse Numscript programs
Retry writes safely
Revert a transaction
Process a bulk request
Every production write should carry an idempotency key. Add a transaction reference — a business identifier Ledger keeps unique for the life of the ledger — when the operation already has one.