View Source DocuSign.Api.Invoices (DocuSign v1.2.0)
API calls for all endpoints tagged Invoices
.
Summary
Functions
Retrieves a billing invoice.
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 |
Get a List of 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
Get a list of past due invoices. Returns a list past due invoices for the account and notes if payment can be made through the REST API. Privileges Required: account administrator
Functions
billing_invoices_get_billing_invoice(connection, account_id, invoice_id, opts \\ [])
View Source@spec billing_invoices_get_billing_invoice( Tesla.Env.client(), String.t(), String.t(), keyword() ) :: {:ok, DocuSign.Model.BillingInvoice.t()} | {:ok, DocuSign.Model.ErrorDetails.t()} | {:error, Tesla.Env.t()}
Retrieves a billing invoice.
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 |
Parameters
connection
(DocuSign.Connection): Connection to serveraccount_id
(String.t): The external account number (int) or account ID GUID.invoice_id
(String.t): The ID of the invoice.opts
(keyword): Optional parameters
Returns
{:ok, DocuSign.Model.BillingInvoice.t}
on success{:error, Tesla.Env.t}
on failure
billing_invoices_get_billing_invoices(connection, account_id, opts \\ [])
View Source@spec billing_invoices_get_billing_invoices(Tesla.Env.client(), String.t(), keyword()) :: {:ok, DocuSign.Model.ErrorDetails.t()} | {:ok, DocuSign.Model.BillingInvoicesResponse.t()} | {:error, Tesla.Env.t()}
Get a List of 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
Parameters
connection
(DocuSign.Connection): Connection to serveraccount_id
(String.t): The external account number (int) or account ID GUID.opts
(keyword): Optional parameters:from_date
(String.t): Specifies the date/time of the earliest invoice in the account to retrieve.:to_date
(String.t): Specifies the date/time of the latest invoice in the account to retrieve.
Returns
{:ok, DocuSign.Model.BillingInvoicesResponse.t}
on success{:error, Tesla.Env.t}
on failure
billing_invoices_get_billing_invoices_past_due(connection, account_id, opts \\ [])
View Source@spec billing_invoices_get_billing_invoices_past_due( Tesla.Env.client(), String.t(), keyword() ) :: {:ok, DocuSign.Model.BillingInvoicesSummary.t()} | {:ok, DocuSign.Model.ErrorDetails.t()} | {:error, Tesla.Env.t()}
Get a list of past due invoices. Returns a list past due invoices for the account and notes if payment can be made through the REST API. Privileges Required: account administrator
Parameters
connection
(DocuSign.Connection): Connection to serveraccount_id
(String.t): The external account number (int) or account ID GUID.opts
(keyword): Optional parameters
Returns
{:ok, DocuSign.Model.BillingInvoicesSummary.t}
on success{:error, Tesla.Env.t}
on failure