Update a credit noteCopy Pageput https://api.bokio.se/v1/companies/{companyId}/credit-notes/{creditNoteId}Updates an existing credit note. Only draft credit notes can be updated. Scope: credit-notes:writePath ParamscompanyIduuidrequiredUnique identifier of the companycreditNoteIduuidrequiredUnique identifier of the credit noteBody ParamsUpdated credit note informationiduuidrequiredThe unique identifier of the credit noteorderNumberReferencestring | nullThe order number associated with the invoice.projectReferencestring | nullThe project reference associated with the credit note.buyerReferencestring | nullThe buyer reference associated with the credit note.contractReferencestring | nullThe contract reference associated with the credit note.currencystringrequiredDefaults to SEKISO 4217 currency codecurrencyRatedoubleDefaults to 1creditDatedaterequireddueDatedaterequiredlineItemsarrayrequiredlineItems*ADD lineItemdeliveryAddressaddressaddress objectmetadataobject | nullMetadata fields for the invoice as string key-value pairs. These fields can be used for filtering.All metadata keys must start with a letter or underscore and contain only alphanumeric characters and underscores.metadata object | nullResponses 200Credit note updated successfully 400Bad request 404Credit note not foundUpdated 23 days ago