Invoices
Import a credit note
Changed onApply a credit note from another system to an invoice. The credit note lowers the amount due. The invoice must still take payments.
post/invoices/{invoiceId}/credit_notes
Request
- Base URLhttps://api.adfin.com/api
- Auth
- OAuth 2Client credentialsToken URLhttps://api.staging.adfin.com/api/oauth2/token
- or OAuth 2Client credentialsToken URLhttps://api.adfin.com/api/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
invoiceIdstring uuid required
The id of the invoice
Request body
Example request
{
"number": "CN-0042",
"amount": 25
}Response
Credit note successfully imported.
Changes
- info
endpoint added
- info