fscsm_chargeexport
fscsm_chargeexport -dir output-directory [-month Targetmonth] [-bizsystemId PlatformID] [-orgId OrganizationID]
Outputs the monthly charge for the specified month as a CSV file.
In output-directory, specify the directory name using a character string containing alphanumeric characters, hyphens, and underscores. This parameter cannot be omitted.
In PlatformID, specify the platform ID. This parameter can be omitted. If it is omitted, charge data for all platforms will be the target.
In OrganizationID, specify the organization ID. This parameter can be omitted. If it is omitted, charge data for all organizations will be the target.
In Targetmonth, specify the year and month of the output target in the format of YYYY-MM. This parameter can be omitted. If omitted, the data for the most recent year and month for which the cut-off process has been completed will be the target.
When outputting the monthly charges for May 2015 for the platform ID 533 as a file
>fscsm_chargeexport -bizsystemId 533 -month 2015-05 -dir .\usertmp\chargeex\biz\533\201505<RETURN>
The file name of the file to which charge data is output is decided based on the output unit and target year and month.
Refer to "Billing Details File" of "3.2.3 Sending Billing".
Element | Output Value or Example |
version | Version of file format |
date | Target month |
orgId | Organization ID |
bizSystemName | Platform name |
category | Category |
breakdown | Breakdown In the case of virtual machine, system disk image or data disk image, some information divided by "|" is output. ・In the case of virtual machine "Virtual machine | <Service ID> | <Instance type>" ・In the case of system disk image "Image | <Service ID> | <System disk image>" ・In the case of data disk "Data disk” | <Service ID> | <Data disk type>" |
unitPrice[<Currency Sign>] | Unit price |
unitPriceUnit | Unit of unit price |
usage | Usage |
usageUnit | Unit of usage |
charge[<Currency Sign >] | Charge |
# version, date, orgId, bizSystemId, category, breakdown, unitPrice[¥], unitPriceUnit, usage, usageUnit, charge[¥] 1, "2015-01(2015-01-01 - 2015-01-31)", "org001", "bizsys001", "basicMenu", "Initial Cost", 2000, "per month", 1, "month", 2000 1, "2015-01(2015-01-01 - 2015-01-31)", "org001", "bizsys001", "basicMenu", "Basic Charge", 2000, "per month", 1, "month", 2000 1, "2015-01(2015-01-01 - 2015-01-31)", "org001", "bizsys001", "extendedOption", "Backup", 500, "per month", 1, "month", 500 1, "2015-01(2015-01-01 - 2015-01-31)", "org001", "bizsys001", "extendedOption", "Standard Monitoring", 500, "per month", 1, "month", 500 1, "2015-01(2015-01-01 - 2015-01-31)", "org001", "bizsys001", "serviceOption", "Virtual Machine | server001 | small", 30, "per hour", 550, "hour", 16500 1, "2015-01(2015-01-01 - 2015-01-31)", "org001", "bizsys001", "serviceOption", "Image | server001 | win2012", 500, "per month", 1, "month", 500 1, "2015-01(2015-01-01 - 2015-01-31)", "org001", "bizsys001", "Data Disk | server001 | 200G", 1000, "per number-month", 1, "number-month", 2000 |