Charges and statements
How charges are worked out, and when a past month can change.
Administrators set prices and free tiers on Costs; labs see their charges under Storage charges, and Chargeback has every lab's for a month, with a CSV statement for finance. Things to know when supporting them:
- Statements are worked out when asked, not stored. A month is final once it has ended, but some changes reach back into it: a price or free tier added or removed from a day in that month or before, and a scan dated in that month that is ingested late. Moving a folder to another lab takes effect from that moment, so it does not change past months. Download the CSV when you send it to finance, and keep it.
- A lab's kind has no history. Charges use whether a lab is a lab or a department now, so changing it changes which free tier its past months had. People and access asks before the change.
- Ownership history starts with 0.5.0. A folder that changed owner before the upgrade to 0.5.0 is charged to its current owner for earlier months.
- Deactivating a lab does not stop its charges. Its folders stay mapped to it, so they are charged to it until they are moved or unmapped on Folders and labs.
- Folders no one owns are not charged. Chargeback lists them as unbilled; map them to a lab or department.
- The month in progress is an estimate, as if the latest scan held until the month's end; statements for it are marked
estimate.
How a charge is worked out is in ARCHITECTURE.md.