credit notes

POST /companies/{companySlug}/creditNotes/counter

Changed on

Creates the first credit note number which is then increased by one with every new credit note. By sending an empty request body the default is base number 10000 (the first credit note number will thus be 10001), but can be specified to another starting value.

Request

  • Base URL
    https://api.fiken.no/api/v2
  • URL
    https://api.fiken.no/api/v2/companies/{companySlug}/creditNotes/counter
  • Auth
    OAuth 2
    Authorization code: https://fiken.no/oauth/authorize
    Token URL: https://fiken.no/oauth/token

Request body

valueinteger

Current value of the counter

Example request

{
  "value": 10000
}

Response

Created

Changes