Update an invoice

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^[a-z]{3,7}_[0-9A-Za-z]{27}$

An object id with prefix

string
required
^[a-z]{3,7}_[0-9A-Za-z]{27}$

An object id with prefix

Body Params

Update a seller

string
^[a-z]{3,7}_[0-9A-Za-z]{27}$

Identifier for the buyer

string
^[A-Z]{3}$

ISO 4217 currency code for all monetary amounts on this invoice

string
^(?!UK$)[A-Z]{2}$

ISO 3166-1 alpha-2 country code where the invoice is issued

integer

Total amount due on the invoice

integer
≥ 0

Amount already paid on this invoice

integer

Amount still remaining to be paid

date

Date when the invoice was issued

date

Date when the payment is due

integer
≥ 0

Total amount of the invoice including all charges, shipping, tax, etc.

string | null
^[a-z]{3,7}_[0-9A-Za-z]{27}$

Identifier for the supplier, if different from seller

uri | null

URL to the PDF version of the invoice

string | null

Reason for billing the buyer

string | null

Payment method used or to be used for this invoice

integer | null
≥ 0

Amount of charges applied to this invoice

integer | null
≥ 0

Amount of discount applied to this invoice

integer | null
≥ 0

Shipping costs included in this invoice

integer | null
≥ 0

Tax amount applied to this invoice

^cfdi:.*$

Fiscal invoice identifier


CFDI (Comprobante Fiscal Digital por Internet - Mexico) - A UUID identifier for Mexican digital fiscal invoices with cfdi: prefix

metadata
object | null

Additional custom data associated with this invoice

Headers
date-time
required

ETag value for Optimistic Concurrency Control (OCC). Should contain the last known updated_at timestamp in ISO 8601 format.

Response

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