Apply credit note to invoice

Apply an amount of a credit note to an invoice of the same customer and currency. Both documents must be posted. The application posts a journal entry on its date, which defaults to the credit note's date and must fall in an open period, and lowers the balance of both documents. A credit note can be applied to the same invoice more than once.

Body Params

Apply an amount of a posted credit note to a posted invoice of the same customer.

double
required

The amount to apply. It must be positive.

string
required

The ID of the credit note to apply.

date

The date the application is posted on. Defaults to the credit note's date and must fall in an open period.

string
required

The ID of the invoice to apply the credit note to.

Headers
string

Client-provided UUID to uniquely identify a request

string

The id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.

string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

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