Documentation CLI 0.1.1 · development llms.txt
COMMAND REFERENCE / ARCHIVE, DELETE & RESTORE

coldctl archive record-billing

Record observed invoice totals.

ImplementedLocal evidence update

Syntax

USAGE
coldctl archive record-billing [OPTIONS] --currency <CURRENCY> --before-minor-units <BEFORE_MINOR_UNITS> --after-minor-units <AFTER_MINOR_UNITS> --before-start-unix-ms <BEFORE_START_UNIX_MS> --before-end-unix-ms <BEFORE_END_UNIX_MS> --after-start-unix-ms <AFTER_START_UNIX_MS> --after-end-unix-ms <AFTER_END_UNIX_MS> <ID>

Arguments & options

ArgumentDescription
<ID>Original archive job ID.
OptionDescription / default
--currency <CURRENCY>Three-letter uppercase invoice currency code.
--data-dir <PATH>Override the OS application data directory
--output <OUTPUT>[default: table] [possible values: table, json]
--before-minor-units <BEFORE_MINOR_UNITS>Observed invoice total before archival in minor currency units.
--after-minor-units <AFTER_MINOR_UNITS>Observed invoice total after archival in minor currency units.
--before-start-unix-ms <BEFORE_START_UNIX_MS>Start of the earlier completed invoice period, UTC Unix milliseconds.
--before-end-unix-ms <BEFORE_END_UNIX_MS>End of the earlier invoice period, UTC Unix milliseconds.
--after-start-unix-ms <AFTER_START_UNIX_MS>Start of the later completed invoice period, UTC Unix milliseconds.
--after-end-unix-ms <AFTER_END_UNIX_MS>End of the later invoice period, UTC Unix milliseconds.
-h, --helpPrint help

Examples

Replace configuration names, paths and JOB_ID with values from your installation. Examples are not executed by this page.

CLI
coldctl archive record-billing JOB --currency USD --before-minor-units 10000 --after-minor-units 9000 --before-start-unix-ms 1 --before-end-unix-ms 2 --after-start-unix-ms 2 --after-end-unix-ms 3

Operational notes

Supply actual completed invoice intervals in UTC Unix milliseconds. Totals are minor currency units. Observations are separate from uncalculated projections; unequal periods and concurrent workload changes prevent causal savings claims.

Output, placeholders & global flags
View exact CLI help
HELP OUTPUT
Record observed invoice totals in minor currency units for two completed periods

Usage: coldctl archive record-billing [OPTIONS] --currency <CURRENCY> --before-minor-units <BEFORE_MINOR_UNITS> --after-minor-units <AFTER_MINOR_UNITS> --before-start-unix-ms <BEFORE_START_UNIX_MS> --before-end-unix-ms <BEFORE_END_UNIX_MS> --after-start-unix-ms <AFTER_START_UNIX_MS> --after-end-unix-ms <AFTER_END_UNIX_MS> <ID>

Arguments:
  <ID>  

Options:
      --currency <CURRENCY>                          
      --data-dir <PATH>                              Override the OS application data directory
      --output <OUTPUT>                              [default: table] [possible values: table, json]
      --before-minor-units <BEFORE_MINOR_UNITS>      
      --after-minor-units <AFTER_MINOR_UNITS>        
      --before-start-unix-ms <BEFORE_START_UNIX_MS>  
      --before-end-unix-ms <BEFORE_END_UNIX_MS>      
      --after-start-unix-ms <AFTER_START_UNIX_MS>    
      --after-end-unix-ms <AFTER_END_UNIX_MS>        
  -h, --help                                         Print help