$ cat inventory.ledger
2020-07-01 * Initial inventory
Inventory:OnHand:Bags:Pallet 7 55 bag
Inventory:OnHand:Bags:Pallet 42 0 bag
Inventory:OnHand:Bags:Initial Inventory
2020-07-15 * (order id#12345) Acme, Inc.
Inventory:OnHand:Bags:Pallet 7 -1 bag
Inventory:OnHand:Bags:Pallet 42 1 bag
$ ledger -f inventory.ledger balance --no-total
0 Inventory:OnHand:Bags
-55 bag Initial Inventory
1 bag Pallet 42
54 bag Pallet 7
--
---
You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/88b0368e-fa1c-48cd-8f6c-7459b2d6c351n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/1594827398.10875870%40apps.rackspace.com.