Apply credit note to invoice

post
https://api.wafeq.com/v1/invoice-credit-notes/

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.

doublerequired

The amount to apply. It must be positive.

stringrequired

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.

stringrequired

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

Headers
string

Client-provided UUID to uniquely identify a request

stringenumDefaults to application/json

Generated from available request content types

Allowed:
Response