Invoices

Get a List of Billing Invoices

GET
/v2.1/accounts/{accountId}/billing_invoices

Retrieves a list of invoices for the account. If the from date or to date queries are not specified, the response returns invoices for the last 365 days.

Privileges required: account administrator

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

Query Parameters

from_date?string

Specifies the date/time of the earliest invoice in the account to retrieve.

to_date?string

Specifies the date/time of the latest invoice in the account to retrieve.

Response Body

application/json

application/json

curl -X GET "https://example.com/v2.1/accounts/string/billing_invoices"
{  "billingInvoices": [    {      "amount": "string",      "balance": "string",      "dueDate": "string",      "invoiceId": "string",      "invoiceItems": [        {          "chargeAmount": "string",          "chargeName": "string",          "invoiceItemId": "string",          "quantity": "string",          "taxAmount": "string",          "taxExemptAmount": "string",          "unitPrice": "string"        }      ],      "invoiceNumber": "string",      "invoiceUri": "string",      "nonTaxableAmount": "string",      "pdfAvailable": "string",      "taxableAmount": "string"    }  ],  "nextUri": "string",  "previousUri": "string"}

Gets billing plan details GET

Retrieves the billing plan details for the specified billing plan ID.

Retrieves a billing invoice GET

Retrieves the specified invoice. **Note:** If the `pdfAvailable` property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the `Accept` property in the header to `Accept: application/pdf`. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as 'unlimited' or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different `chargeName` property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | Docusign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge |