Update an invoice

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Database ID of the resource

Body Params
string

A unique number to identify the invoice.

integer

Database ID of the customer.

integer
enum

Type of invoice.

  • 10 - Quotation
  • 20 - Pro-forma invoice
  • 25 - Prepayment invoice
  • 30 - Invoice
  • 40 - Credit-invoice
  • 50 - Order confirmation
Allowed:
integer
enum

Status of invoice.

  • 10 - Dummy
  • 20 - Unpaid
  • 30 - Paid partially
  • 40 - Paid
  • 50 - Cancelled
Allowed:
integer

Database ID of the pricelist.

integer

ID of invoice billing address.

Billing address as text, as a structured address object, or null.

integer

Date and time when this invoice was created as Unix timestamp.

integer

Date when this invoice should be paid as Unix timestamp.

string

Free text.

number

Percentage of discount.

number | null

Sum of discount.

number | null

Sum of discount in customer's currency.

number | null

Percentage of tax.

number | null

Percentage of pre-payment in a pre-payment invoice.

number | null

Sum of a pre-payment invoice or sum of allocated pre-payment in an invoice.

number | null

Sum of a pre-payment invoice or sum of allocated pre-payment in an invoice, in customer's currency.

number | null

Sum of a pre-payment invoice or sum of allocated pre-payment in an invoice, with tax.

number | null

Sum of a pre-payment invoice or sum of allocated pre-payment in an invoice, with tax in customer's currency.

number | null

Tax sum of the invoice in the default currency.

number | null

Tax sum of the invoice in customer's currency.

products
array of objects

If omitted, existing invoice lines remain unchanged.

Provided line_id values are updated.
Lines without line_id are created.
Existing invoice lines missing from provided line_id values are deleted.

products
Responses
202

Invoice updated

404

Resource not found

429

Rate limited - another request is running

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json