billing_invoices: List invoices

Description Usage Arguments Examples

Description

This call returns a list of invoices, with information about each, including whether or not the invoice is pending and the billing period it covers. The call returns information about all available invoices, unless you use the query parameter bg_id to specify the ID of specific invoices.

Usage

1
billing_invoices(auth_token = NULL, id = NULL, ...)

Arguments

auth_token

auth token.

id

invoices id. by default is NULL, will list all invoices with ID. if id is provided, This call retrieves information about a selected invoice, including the costs for analysis and storage, and the invoice period.

Examples

1
2
3
4
## list all invoices
billing_invoices(token, base_url = url)
## check single invoice
billing_invoices(token, base_url = url, id = "some_id")

sbgr documentation built on Oct. 5, 2016, 4:14 a.m.