Expenses Engine Design - RodrigoMattosoSilveira/EnterpriseRemoteSystems GitHub Wiki
13.1 Supported categories
- canteen
- pix
- flights
- pay_daily_wager
- diverse
13.2 Pricing behavior
- BRL entries use entered or catalog BRL price.
- Gold entries use either entered gold price or gold-equivalent from current quote.
- Every line stores a snapshot of quantity, unit price, and total price.
13.3 Validation rules
- currency required
- at least one item
- total must equal sum of lines
- PIX only in BRL
- agreement checkbox required