Overview
Host cost comes from the cost basis you declare for each machine, and Services from catalogue rates. Both are estimates of what your provider will charge. When the provider’s bill arrives, import it and CostOptix scales each machine and service to its own lines on the bill. Team bills then add up to the bill, to the cent. Sealed months are never rewritten. The reconciled bill is kept next to the sealed one and used in its place on Ownership, unit costs, fully loaded cost and reports. Provider bills are on Growth and above. Open them from Settings → Provider bills.Set the bill format
Tell CostOptix which columns of the bill’s CSV hold what. Use the column names exactly as they appear in the file’s header row; choose a bill file first and the page suggests them.
Amounts can carry a currency code or symbol before or after the number, such as
NGN 12,000 or ₦900. Credits in brackets, such as (5.00), are imported as negative amounts.
If your organisation is managed by a partner, the partner sets the format once for all its customers and you can’t change it.
Import a bill
Under Import a bill, choose the month and the bill’s CSV file. You can also enter the bill total from the invoice: the import is refused if the lines don’t add up to it.- Only months that have ended can take a bill, and the month needs host or Services cost to reconcile against.
- Amounts must be in your organisation’s currency.
- Nothing is imported unless every line is valid; the page lists each line that needs fixing. Up to 20,000 lines and 8 MB per file.
- Importing a month again replaces its bill. Matches you made by hand are kept.
How lines are matched
Each line is matched in this order:- A match you made by hand on the line’s resource
- A host whose name equals the resource, ignoring case
- A match you made by hand on the line’s service label
- A catalogue service whose name equals the service label, ignoring case
How the bill is split
- Hosts. Each machine’s team split for the month is scaled to its bill lines. A machine billed at twice its estimate charges each of its teams twice as much.
- Services. Each service’s bill lines are split by the teams on its usage lines.
- Not matched. Lines that match nothing, and credits, go to Unclaimed, so the bill still adds up.
- Not on the bill. Machines and services you were charged for that aren’t on the bill are billed 0. The page lists them.
- Machines billed by a cloud account keep their estimate and count outside the bill total.
Where it shows
Budgets keep using daily cost, so pacing and alerts are unchanged.
Delete a bill to put the month back on its estimate. Imports, deletions, hand matches and format changes are recorded in the audit log.
API
Use an API key with write access from Settings → API Keys, or a signed-in admin session.
The host and Services monthly bill endpoints include a
provider_bill block when a bill reconciled the month.