Invoices
Cancel an imported credit note
Changed onCancel a credit note imported through the API. The amount returns to the amount due of the invoice.
delete/invoices/{invoiceId}/credit_notes/{creditNoteId}
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
- TypeScripthttps://skmtc.dev/adfin/apis/adfin-api/docs/invoices/:invoiceId/credit_notes/:creditNoteId/delete.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
invoiceIdstring uuid required
The id of the invoice
creditNoteIdstring uuid required
The id of the credit note
Response
Credit note successfully cancelled.
Changes
- info
endpoint added
- info