credit notes
POST /companies/{companySlug}/creditNotes/partial
Changed onCreates a new credit note that doesn't fully cover the total amount of the associated invoice.
Request
- Base URLhttps://api.fiken.no/api/v2
- URLhttps://api.fiken.no/api/v2/companies/{companySlug}/creditNotes/partial
- AuthOAuth 2Authorization code: https://fiken.no/oauth/authorizeToken URL: https://fiken.no/oauth/token
Request body
Example request
{
"currency": "NOK",
"issueDate": "2018-04-03",
"invoiceId": 2888156,
"contactId": 3588152,
"contactPersonId": 3588152,
"creditNoteText": "Invoice for services rendered during the Oslo Knitting Festival.",
"lines": [
{
"incomeAccount": "3000",
"vatType": "HIGH",
"unitPrice": 4550,
"quantity": 5,
"discount": 25,
"productId": 2888156,
"description": "Goatskin, with extra-long suede cuffs",
"comment": "One size fits all"
}
],
"roundingType": "none"
}Response
Created
Changes
- info
added the new optional request property
- info
- info
the endpoint scheme security
fiken_api_oauthwas removed from the API
- info