The API gains expense.create, expense.correct, expense.list and odometer.latest for the AutoFolio add-expense form. Saving writes a ledger entry, the expense, an odometer reading and the receipt in one transaction. A likely duplicate (same amount, date and vendor) and a lower odometer reading without a reason come back as results the form can show, with nothing written. A correction is a new ledger entry with its reason; the original stays. The client-generated id makes a replay answer the first save. The domain package adds full-to-full fuel economy and a kWh/100 km formatter.
Expenses and odometer readings
Members save expenses into the ledger with odometer, fuel and receipt, are warned about likely duplicates, correct them with a reason, and can replay a save from an offline queue without saving twice.
Edit on GitHubDocumentation is in English.