diff --git a/billing/v1/billing.proto b/billing/v1/billing.proto index d374622d..4398b160 100644 --- a/billing/v1/billing.proto +++ b/billing/v1/billing.proto @@ -1369,8 +1369,8 @@ message DeleteAccessGroupRequest { // Request message for the ListInvoice rpc. message ListInvoiceRequest { - // Optional. billing internal id. If empty will list all the invoice status - string groupId = 1; + // YYYYMM format (e.g 202412, 202501) + string date = 1; } @@ -1385,8 +1385,10 @@ message ListInvoiceResponse { // The billing group name. Used as invoice name on ripple v2 string billingGroupName = 3; - // The date. - string date = 4; + string companyName = 4; + + // currency for the + string currency = 8; // Created || Not Created string invoiceStatus = 5; @@ -1394,6 +1396,12 @@ message ListInvoiceResponse { string finalizationStatus = 6; // Published || Not published string waveStatus = 7; + + // Formated in $8,000.12 + string billingAmountAws = 9; + string billingAmountAzure = 10; + string billingAmountGcp = 11; + string billingAmountTotal = 12; } // request message for ListAbcBillingGroups diff --git a/openapiv2/apidocs.swagger.json b/openapiv2/apidocs.swagger.json index 5c60de05..309950dc 100644 --- a/openapiv2/apidocs.swagger.json +++ b/openapiv2/apidocs.swagger.json @@ -28803,9 +28803,9 @@ "v1ListInvoiceRequest": { "type": "object", "properties": { - "groupId": { + "date": { "type": "string", - "title": "Optional. billing internal id. If empty will list all the invoice status" + "title": "YYYYMM format (e.g 202412, 202501)" } }, "description": "Request message for the ListInvoice rpc." @@ -28825,9 +28825,12 @@ "type": "string", "title": "The billing group name. Used as invoice name on ripple v2" }, - "date": { + "companyName": { + "type": "string" + }, + "currency": { "type": "string", - "description": "The date." + "title": "currency for the" }, "invoiceStatus": { "type": "string", @@ -28840,6 +28843,19 @@ "waveStatus": { "type": "string", "title": "Published || Not published" + }, + "billingAmountAws": { + "type": "string", + "title": "Formated in $8,000.12" + }, + "billingAmountAzure": { + "type": "string" + }, + "billingAmountGcp": { + "type": "string" + }, + "billingAmountTotal": { + "type": "string" } }, "description": "Response message for the ListInvoice rpc."