credit notes

POST /companies/{companySlug}/creditNotes/full

Changed on

Creates a new credit note that covers the full amount of the associated invoice.

Request

Request body

issueDatestring date required

Date that the credit note is issued, format yyyy-mm-dd

invoiceIdinteger required

Id of invoice that the credit note is associated with.

creditNoteTextstring

Example request

{
  "issueDate": "2018-04-03",
  "invoiceId": 2888156,
  "creditNoteText": "Invoice for services rendered during the Oslo Knitting Festival."
}

Response

Created

Changes