Update an invoice

Updates an Invoice object. Only invoices with status draft are updated.

Path Params
string
required

Unique ID of the Invoice to update

Body Params
string

Method to collect payments of this invoice. Must be automatically or deferred

string

ID of related Customer object.

date

Closing date of this invoice.

string

A positive number representing the amount or percentage of the discount.

string

Can be $ or %. $ apply amount as discount. % apply percentage as discount.

string

The ID of the document type this subscription should create.

date

The deadline for the invoice to change from receivable to overdue status in case the customer has not paid.

lines
array of objects

List of Invoice Line objects which represents the items for which this invoice is being charged.

lines
string

A simple text with a 100 characters as max length.

references
array of objects

List of Invoice Reference objects which represents the documents with which the issuance of this invoice is supported. For ex. a Purchase Order

references
Response

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json