How invoice amounts are calculated - Cadence Calendar Docs