GET Details and Regional Usage for a Sub-Invoice
- 03 Jun 2024
- 1 Minute to read
- Print
- PDF
GET Details and Regional Usage for a Sub-Invoice
- Updated on 03 Jun 2024
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Return the details regarding a specific sub-invoice along with regional usage.
URL (GET)
GET /v1/accounts/<AcctNum>/ /invoices/<SubInvoiceNum>/regional
Sample
Request:GET/v1/accounts/281771/invoices/265669/regional
Response-JSON:
{
"SubInvoice": { "SubInvoiceNum": 265669,
"InvoiceNum": 140262,
"AcctNum": 281771,
"ParentAcctNum": 281770,
"AcctPlanNum": 350555,
"CreateTime": "2021-06-06T14:52:45Z",
"PeriodStart": "2021-05-01T00:00:00Z",
"PeriodEnd": "2021-05-31T00:00:00Z",
"Total": 0.6,
"Currency": "usd",
"Status": "sub-invoice"
},
"SubInvoiceItems": [
{
"SubInvoiceItemNum": 1687005,
"SubInvoiceNum": 265669,
"Type": "storage-ap-northeast-1",
"DisplayName": "Timed Active Storage (ap-northeast-1)",
"Description": "Total storage size: 111.759 GB-days",
"Qty": 111.759,
"UnitCost": 0.00022754,
"Total": 0.03,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687006,
"SubInvoiceNum": 265669,
"Type": "storage-us-east-1",
"DisplayName": "Timed Active Storage (us-east-1)",
"Description": "Total storage size: 111.759 GB-days",
"Qty": 111.759,
"UnitCost": 0.00019499,
"Total": 0.02,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687007,
"SubInvoiceNum": 265669,
"Type": "deleted-object-storage-ap-northeast-1",
"DisplayName": "Timed Deleted Storage (applicable for deleted storage <30 days) (ap-northeast-1)",
"Description": "Total storage size: 55.879 GB-days",
"Qty": 55.8794,
"UnitCost": 0.00022754,
"Total": 0.01,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687008,
"SubInvoiceNum": 265669,
"Type": "deleted-object-storage-us-east-1",
"DisplayName": "Timed Deleted Storage (applicable for deleted storage <30 days) (us-east-1)",
"Description": "Total storage size: 55.879 GB-days",
"Qty": 55.8794,
"UnitCost": 0.00019499,
"Total": 0.01,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687009,
"SubInvoiceNum": 265669,
"Type": "data-ingress",
"DisplayName": "Data Transfer (in) (all regions)",
"Description": "Data Transfer (in) (all regions)",
"Qty": 0,
"UnitCost": 0,
"Total": 0,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687010,
"SubInvoiceNum": 265669,
"Type": "data-egress-ap-northeast-1",
"DisplayName": "Data Transfer (out) (ap-northeast-1)",
"Description": "Total data egress: 0.000 GB",
"Qty": 0,
"UnitCost": 0,
"Total": 0,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687011,
"SubInvoiceNum": 265669,
"Type": "data-egress-us-east-1",
"DisplayName": "Data Transfer (out) (us-east-1)",
"Description": "Total data egress: 0.000 GB",
"Qty": 0,
"UnitCost": 0,
"Total": 0,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687012,
"SubInvoiceNum": 265669,
"Type": "api-calls",
"DisplayName": "API Requests",
"Description": "API Requests",
"Qty": 0,
"UnitCost": 0,
"Total": 0,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687013,
"SubInvoiceNum": 265669,
"Type": "minimum-storage-charge",
"DisplayName": "Minimum Active Storage (applicable if Timed Active Storage <100 GB)",
"Description": "Minimum Active Storage (applicable if Timed Active Storage <100 GB)",
"Qty": 0.913793,
"UnitCost": 0.58,
"Total": 0.53,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687014,
"SubInvoiceNum": 265669,
"Type": "support-charge",
"DisplayName": "Support Charge",
"Description": "Support Charge",
"Qty": 30,
"UnitCost": 0,
"Total": 0,
"Currency": "usd"
},
{
"SubInvoiceItemNum": 1687015,
"SubInvoiceNum": 265669,
"Type": "discount",
"DisplayName": "Service Charge Discount",
"Description": "Service Charge Discount",
"Qty": 0.6,
"UnitCost": 0,
"Total": 0,
"Currency": "usd"
}
]
}