{
"data": {
"billable_status": "billable",
"contract_custom_fields": {},
"contract_id": "222fd78f-c93d-4b11-bec8-a7b12b510214",
"credit_type": {
"id": "2714e483-4ff1-48e4-9e25-ac732e8f24f2",
"name": "USD (cents)"
},
"custom_fields": {},
"customer_custom_fields": {},
"customer_id": "b61bf255-d6f2-49fc-a062-b32431e2d22d",
"end_timestamp": "2024-11-01T00:00:00+00:00",
"external_invoice": null,
"id": "e1937b93-64a5-5117-99e1-eb963a71e764",
"issued_at": "2024-11-02T12:00:00+00:00",
"line_items": [
{
"commit_custom_fields": {},
"commit_id": "fde728f0-af26-45c3-92f6-7587dedadef3",
"commit_segment_id": "fc696ca9-58b6-49e1-b2dc-888d78acd00e",
"commit_type": "PrepaidCommit",
"credit_type": {
"id": "2714e483-4ff1-48e4-9e25-ac732e8f24f2",
"name": "USD (cents)"
},
"ending_before": "2024-11-01T00:00:00+00:00",
"name": "Data Storage",
"product_custom_fields": {},
"product_id": "c8dccd54-0ca8-4580-861d-1e26854ab2f1",
"product_type": "UsageProductListItem",
"quantity": 4,
"starting_at": "2024-10-01T00:00:00+00:00",
"total": 400,
"unit_price": 100
},
{
"commit_custom_fields": {},
"commit_id": "fde728f0-af26-45c3-92f6-7587dedadef3",
"commit_netsuite_item_id": "1234",
"commit_segment_id": "fc696ca9-58b6-49e1-b2dc-888d78acd00e",
"commit_type": "PrepaidCommit",
"credit_type": {
"id": "2714e483-4ff1-48e4-9e25-ac732e8f24f2",
"name": "USD (cents)"
},
"ending_before": "2024-11-01T00:00:00+00:00",
"name": "Prepaid Commit applied",
"product_custom_fields": {},
"product_id": "c8dccd54-0ca8-4580-861d-1e26854ab2f1",
"product_type": "UsageProductListItem",
"starting_at": "2024-10-01T00:00:00+00:00",
"total": -400
},
{
"credit_type": {
"id": "2714e483-4ff1-48e4-9e25-ac732e8f24f2",
"name": "USD (cents)"
},
"ending_before": "2024-11-01T00:00:00+00:00",
"name": "Data Storage",
"product_custom_fields": {},
"product_id": "c8dccd54-0ca8-4580-861d-1e26854ab2f1",
"product_type": "UsageProductListItem",
"quantity": 6,
"starting_at": "2024-10-01T00:00:00+00:00",
"total": 600,
"unit_price": 100
}
],
"start_timestamp": "2024-10-01T00:00:00+00:00",
"status": "DRAFT",
"total": 600,
"type": "USAGE"
}
}