mba-cli invoice

4 commands

Read invoices

Synopsis#

bash
mba-cli invoice <command> [flags]

Available commands#

mba-cli invoice account-invoicesList invoices for one billing account
List invoices for a billing account Retrieves invoices for one billing account with pagination, sorting, search, invoice type/state, collection method, currency, origin, related booking/subscription IDs, invoice ID CSV filters, and created-date ranges. For OpenAPI tool calls, pass the account id in path and all list controls in query. List invoices for one billing account
--account-idstringBilling account id
--allbool = falseReturn all rows (paginate=false)
--booking-idsstringQuery parameter bookingIds (from the API spec)
--collection-methodstringQuery parameter collectionMethod (from the API spec)
--currencystringQuery parameter currency (from the API spec)
--from-datestringQuery parameter fromDate (from the API spec)
--has-subscriptionboolQuery parameter hasSubscription (from the API spec)
--idsstringQuery parameter ids (from the API spec)
--limitint = 20Query parameter limit (from the API spec)
--orderstringQuery parameter order (from the API spec)
--originstringQuery parameter origin (from the API spec)
--pageint = 1Query parameter page (from the API spec)
--paginatebool = trueQuery parameter paginate (from the API spec)
--searchstringQuery parameter search (from the API spec)
--sortstringQuery parameter sort (from the API spec)
--statestringQuery parameter state (from the API spec)
--subscription-idsstringQuery parameter subscriptionIds (from the API spec)
--to-datestringQuery parameter toDate (from the API spec)
--typestringQuery parameter type (from the API spec)
mba-cli invoice getGet one invoice by id
Get single invoice resource Get a single invoice resource Get one invoice by id
--idstringInvoice id
mba-cli invoice get-by-numberGet one invoice by invoice number
Get single account invoice by number resource Get a single account invoice by number resource Get one invoice by invoice number
--numberstringInvoice number with prefix (e.g. INVCS-1843)
mba-cli invoice lsList invoices across billing accounts
List invoices across billing accounts Retrieves invoices across billing accounts with pagination, sorting, search, invoice type/state, collection method, currency, origin, related booking/subscription IDs, invoice ID CSV filters, and created-date ranges. Studio Copilot should pass these controls in mpptenant_call_api.query when paging or narrowing invoice results. List invoices across billing accounts
--allbool = falseReturn all rows (paginate=false)
--booking-idsstringQuery parameter bookingIds (from the API spec)
--collection-methodstringQuery parameter collectionMethod (from the API spec)
--currencystringQuery parameter currency (from the API spec)
--from-datestringQuery parameter fromDate (from the API spec)
--has-subscriptionboolQuery parameter hasSubscription (from the API spec)
--idsstringQuery parameter ids (from the API spec)
--limitint = 20Query parameter limit (from the API spec)
--orderstringQuery parameter order (from the API spec)
--originstringQuery parameter origin (from the API spec)
--pageint = 1Query parameter page (from the API spec)
--paginatebool = trueQuery parameter paginate (from the API spec)
--searchstringQuery parameter search (from the API spec)
--sortstringQuery parameter sort (from the API spec)
--statestringQuery parameter state (from the API spec)
--subscription-idsstringQuery parameter subscriptionIds (from the API spec)
--to-datestringQuery parameter toDate (from the API spec)
--typestringQuery parameter type (from the API spec)
Was this page helpful?