---
title: "GET /companies/{companySlug}/creditNotes"
method: GET
path: "/companies/{companySlug}/creditNotes"
tags: ["credit notes"]
---

# GET /companies/{companySlug}/creditNotes

`GET /companies/{companySlug}/creditNotes`

Returns all credit notes for given company

## Query parameters

- `page` integer
- `pageSize` integer
- `issueDate` string, date
- `issueDateLe` string, date
- `issueDateLt` string, date
- `issueDateGe` string, date
- `issueDateGt` string, date
- `lastModified` string, date
- `lastModifiedLe` string, date
- `lastModifiedLt` string, date
- `lastModifiedGe` string, date
- `lastModifiedGt` string, date
- `customerId` integer
- `settled` boolean
- `creditNoteDraftUuid` string, uuid

## Response `200`

OK

- CreditNoteResult[]
  - `creditNoteId` integer, required — Id of credit note
  - `creditNoteNumber` integer, required — Unique credit note number generated by us.
  - `kid` string — Norwegian KID number. Number from 2 to 25 digits long.
  - `customer` Contact, required
    - `contactId` integer
    - `createdDate` string, date — Date that contact was created in Fiken, format yyyy-mm-dd.
    - `lastModifiedDate` string, date — Date that contact was last modified in Fiken, format yyyy-mm-dd.
    - `name` string, required
    - `email` string
    - `organizationNumber` string — Brreg organization number.
    - `customerNumber` integer
    - `customerAccountCode` string — Format 1500:XXXXX
    - `phoneNumber` string
    - `memberNumber` number — A number that can be used to connect a contact to your own data. This field is no longer used and instead memberNumberString should be used.
    - `memberNumberString` string — A number/id that can be used to connect a contact to your own data.
    - `supplierNumber` integer
    - `supplierAccountCode` string — Format 2400:XXXXX
    - `customer` boolean — True if the contact is a customer. It is possible for a contact to be both customer and supplier.
    - `supplier` boolean — True if the contact is a supplier. It is possible for a contact to be both supplier and customer.
    - `bankAccountNumber` string
    - `contactPerson` ContactPerson[]
      - `contactPersonId` integer
      - `name` string, required
      - `email` string, required
      - `phoneNumber` string
      - `address` Address
        - `streetAddress` string
        - `streetAddressLine2` string
        - `city` string
        - `postCode` string
        - `country` string, required
    - `notes` ContactNote[]
      - `author` string
      - `note` string
    - `currency` string — ISO 4217 currency code. Default foreign currency to use when creating invoice to this contact (USD, EUR, SEK etc)
    - `language` string, nullable — The language to use when sending documents to this contact. NORWEGIAN or ENGLISH. Defaults to NORWEGIAN.
    - `inactive` boolean — Whether the contact has been deactivated (true) or is active (false)
    - `daysUntilInvoicingDueDate` integer — Default number of days until due date for invoices.
    - `discount` number — Discount value should be a percent with a value between 0 and 100. Decimal values such as 25.5 are also allowed.
    - `address` Address
      - `streetAddress` string
      - `streetAddressLine2` string
      - `city` string
      - `postCode` string
      - `country` string, required
    - `groups` string[]
    - `documents` Attachment[]
      - `uuid` string, uuid — Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.
      - `filename` string — The name of the underlying file.
      - `identifier` string — User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.
      - `downloadUrl` string — For use with API credentials (bearer token or oauth 2)
      - `downloadUrlWithFikenNormalUserCredentials` string — Requires the user to login with username and password in Fiken.
      - `comment` string — Field for additional information for this attachment.
      - `type` 'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'
  - `net` integer, required — Net amount (in creditNote currency) in cents.
  - `vat` integer, required — VAT amount (in creditNote currency) in cents.
  - `gross` integer, required — Gross amount (= net+VAT) (in creditNote currency) in cents.
  - `netInNok` integer, required — Net amount in NOK (in cents)
  - `vatInNok` integer, required — VAT amount in NOK (in cents)
  - `grossInNok` integer, required — Gross amount in NOK (in cents)
  - `creditNoteText` string — Comment/description printed above the credit note lines.
  - `yourReference` string
  - `ourReference` string
  - `orderReference` string — Reference if sending via EHF.
  - `address` Address, required
    - `streetAddress` string
    - `streetAddressLine2` string
    - `city` string
    - `postCode` string
    - `country` string, required
  - `lines` InvoiceLineResult[]
    - `net` integer — Net amount of invoice line in cents in original currency.
    - `vat` integer — VAT amount of invoice line in cents in original currency.
    - `vatType` string — Taken from either 1) the line or 2) the product. At least vatType or vatPercent has to be specified. If both are specified, Fiken will assert that the given vat type matches the given vat percent for the issue date. One of: {"HIGH", "MEDIUM", "LOW", "EXEMPT", "EXEMPT_IMPORT_EXPORT", "EXEMPT_REVERSE", "OUTSIDE", "NONE"}. "HIGH" is the most common.
    - `gross` integer — Gross amount of invoice line in cents.
    - `netInNok` integer — Net amount of invoice line in cents in NOK if currency and amounts provided are in foreign currency. This is calculated by Fiken.
    - `vatInNok` integer — VAT amount of invoice line in cents in NOK if currency and amounts provided are in foreign currency. This is calculated by Fiken.
    - `grossInNok` integer — Gross amount of invoice line in cents in NOK if currency and amounts provided are in foreign currency. This is calculated by Fiken.
    - `vatInPercent` number — Percentage value of VAT charged on invoice line. Should be a value between 0 and 1
    - `unitPrice` integer — Net price per unit in invoice currency (in cents).
    - `quantity` number — Number of units to be invoiced.
    - `discount` number — If field is set, all amounts must be given before the discount is applied. The API will calculate the new totals. Discount value should be a value between 0 and 1.
    - `productId` integer — Product Id of product associated with invoice line.
    - `productName` string — Name of product to be printed on invoice line.
    - `description` string — Description of the invoiced product or service.
    - `comment` string — Additional information to be printed on invoice.
    - `incomeAccount` string — Field is similar to vatType, it defaults to the product's income account. Either the line or the product needs to have an income account set.
  - `currency` string — ISO 4217 currency code
  - `issueDate` string, date — Issue date of the credit note, format yyyy-mm-dd
  - `lastModifiedDate` string, date — Date that the credit note was last modified in Fiken, format yyyy-mm-dd.
  - `settled` boolean — If the credit note as been marked as settled (True) or not (False).
  - `associatedInvoiceId` integer — Id of associated invoice
  - `creditNoteDraftUuid` string — The UUID of the credit note draft used to create the credit note. Credit notes created directly from invoices (POST / creditNotes/full and POST /creditNotes/partial) will not have a draft uuid as no draft is created in this case.
  - `creditNotePdf` Attachment
    - `uuid` string, uuid — Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.
    - `filename` string — The name of the underlying file.
    - `identifier` string — User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.
    - `downloadUrl` string — For use with API credentials (bearer token or oauth 2)
    - `downloadUrlWithFikenNormalUserCredentials` string — Requires the user to login with username and password in Fiken.
    - `comment` string — Field for additional information for this attachment.
    - `type` 'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'
  - `project` ProjectResult
    - `projectId` integer
    - `number` string
    - `name` string
    - `description` string
    - `startDate` string, date — Start date for the project, inclusive, format yyyy-mm-dd
    - `endDate` string, date — End date for the project, inclusive, format yyyy-mm-dd
    - `contact` Contact
      - `contactId` integer
      - `createdDate` string, date — Date that contact was created in Fiken, format yyyy-mm-dd.
      - `lastModifiedDate` string, date — Date that contact was last modified in Fiken, format yyyy-mm-dd.
      - `name` string, required
      - `email` string
      - `organizationNumber` string — Brreg organization number.
      - `customerNumber` integer
      - `customerAccountCode` string — Format 1500:XXXXX
      - `phoneNumber` string
      - `memberNumber` number — A number that can be used to connect a contact to your own data. This field is no longer used and instead memberNumberString should be used.
      - `memberNumberString` string — A number/id that can be used to connect a contact to your own data.
      - `supplierNumber` integer
      - `supplierAccountCode` string — Format 2400:XXXXX
      - `customer` boolean — True if the contact is a customer. It is possible for a contact to be both customer and supplier.
      - `supplier` boolean — True if the contact is a supplier. It is possible for a contact to be both supplier and customer.
      - `bankAccountNumber` string
      - `contactPerson` ContactPerson[]
        - `contactPersonId` integer
        - `name` string, required
        - `email` string, required
        - `phoneNumber` string
        - `address` Address
          - `streetAddress` string
          - `streetAddressLine2` string
          - `city` string
          - `postCode` string
          - `country` string, required
      - `notes` ContactNote[]
        - `author` string
        - `note` string
      - `currency` string — ISO 4217 currency code. Default foreign currency to use when creating invoice to this contact (USD, EUR, SEK etc)
      - `language` string, nullable — The language to use when sending documents to this contact. NORWEGIAN or ENGLISH. Defaults to NORWEGIAN.
      - `inactive` boolean — Whether the contact has been deactivated (true) or is active (false)
      - `daysUntilInvoicingDueDate` integer — Default number of days until due date for invoices.
      - `discount` number — Discount value should be a percent with a value between 0 and 100. Decimal values such as 25.5 are also allowed.
      - `address` Address
        - `streetAddress` string
        - `streetAddressLine2` string
        - `city` string
        - `postCode` string
        - `country` string, required
      - `groups` string[]
      - `documents` Attachment[]
        - `uuid` string, uuid — Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.
        - `filename` string — The name of the underlying file.
        - `identifier` string — User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.
        - `downloadUrl` string — For use with API credentials (bearer token or oauth 2)
        - `downloadUrlWithFikenNormalUserCredentials` string — Requires the user to login with username and password in Fiken.
        - `comment` string — Field for additional information for this attachment.
        - `type` 'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'
    - `completed` boolean — Whether the project is completed or not.
  - `sale` SaleResult
    - `saleId` integer — Sale Id
    - `lastModifiedDate` string, date — Date that the sale was last modified in Fiken, format yyyy-mm-dd.
    - `transactionId` integer
    - `saleNumber` string — Identifier for sale.
    - `date` string, date — Due date of the invoice, format yyyy-mm-dd
    - `kind` 'cash_sale' | 'invoice' | 'external_invoice' — Either cash_sale, invoice, or external_invoice.
    - `netAmount` integer — Total net amount of the sale to be paid.
    - `vatAmount` integer — VAT amount on sale.
    - `settled` boolean — If the sale as been marked as settled (True) or not (False).
    - `settledDate` string, date — Date the the sale was marked as settled, format yyyy-mm-dd
    - `writeOff` boolean — If a loss has been registered for this sale (tapsføring av salg).
    - `totalPaid` integer — Total amount paid in NOK
    - `totalPaidInCurrency` integer — Total amount paid in other currency.
    - `outstandingBalance` integer
    - `outstandingBalanceInCurrency` integer — Outstanding balance in other currency.
    - `lines` OrderLine[]
      - `lineId` integer — Stable identifier of this purchase/sale line, returned in GET responses. Use this value as `lineId` when setting up accrual for the line. Ignored if sent in a create/update request.
      - `description` string, required — Description of the product or service.
      - `netPrice` integer — Net amount of order line in cents. Either netPrice or netPriceInCurrency must be provided.
      - `vat` integer — VAT amount of order line in cents.
      - `account` string — Expense account (kostnadskonto) associated with payment.
      - `vatType` string, required — Vat Types for SALES: [NONE, HIGH, MEDIUM, RAW_FISH, LOW, EXEMPT_IMPORT_EXPORT, EXEMPT, OUTSIDE, EXEMPT_REVERSE] Vat Types for PURCHASES: [NONE, HIGH, MEDIUM, RAW_FISH, LOW, HIGH_DIRECT, HIGH_BASIS, MEDIUM_DIRECT, MEDIUM_BASIS, NONE_IMPORT_BASIS, HIGH_FOREIGN_SERVICE_DEDUCTIBLE, HIGH_FOREIGN_SERVICE_NONDEDUCTIBLE, LOW_FOREIGN_SERVICE_DEDUCTIBLE, LOW_FOREIGN_SERVICE_NONDEDUCTIBLE, HIGH_PURCHASE_OF_EMISSIONSTRADING_OR_GOLD_DEDUCTIBLE, HIGH_PURCHASE_OF_EMISSIONSTRADING_OR_GOLD_NONDEDUCTIBLE]
      - `netPriceInCurrency` integer — Net amount in currency (in cents)
      - `vatInCurrency` integer — VAT amount in currency (in cents)
      - `projectId` integer — If a purchase is split over several projects, project/line can be specified. This field is only to be used for purchases.
    - `customer` Contact
      - `contactId` integer
      - `createdDate` string, date — Date that contact was created in Fiken, format yyyy-mm-dd.
      - `lastModifiedDate` string, date — Date that contact was last modified in Fiken, format yyyy-mm-dd.
      - `name` string, required
      - `email` string
      - `organizationNumber` string — Brreg organization number.
      - `customerNumber` integer
      - `customerAccountCode` string — Format 1500:XXXXX
      - `phoneNumber` string
      - `memberNumber` number — A number that can be used to connect a contact to your own data. This field is no longer used and instead memberNumberString should be used.
      - `memberNumberString` string — A number/id that can be used to connect a contact to your own data.
      - `supplierNumber` integer
      - `supplierAccountCode` string — Format 2400:XXXXX
      - `customer` boolean — True if the contact is a customer. It is possible for a contact to be both customer and supplier.
      - `supplier` boolean — True if the contact is a supplier. It is possible for a contact to be both supplier and customer.
      - `bankAccountNumber` string
      - `contactPerson` ContactPerson[]
        - `contactPersonId` integer
        - `name` string, required
        - `email` string, required
        - `phoneNumber` string
        - `address` Address
          - `streetAddress` string
          - `streetAddressLine2` string
          - `city` string
          - `postCode` string
          - `country` string, required
      - `notes` ContactNote[]
        - `author` string
        - `note` string
      - `currency` string — ISO 4217 currency code. Default foreign currency to use when creating invoice to this contact (USD, EUR, SEK etc)
      - `language` string, nullable — The language to use when sending documents to this contact. NORWEGIAN or ENGLISH. Defaults to NORWEGIAN.
      - `inactive` boolean — Whether the contact has been deactivated (true) or is active (false)
      - `daysUntilInvoicingDueDate` integer — Default number of days until due date for invoices.
      - `discount` number — Discount value should be a percent with a value between 0 and 100. Decimal values such as 25.5 are also allowed.
      - `address` Address
        - `streetAddress` string
        - `streetAddressLine2` string
        - `city` string
        - `postCode` string
        - `country` string, required
      - `groups` string[]
      - `documents` Attachment[]
        - `uuid` string, uuid — Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.
        - `filename` string — The name of the underlying file.
        - `identifier` string — User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.
        - `downloadUrl` string — For use with API credentials (bearer token or oauth 2)
        - `downloadUrlWithFikenNormalUserCredentials` string — Requires the user to login with username and password in Fiken.
        - `comment` string — Field for additional information for this attachment.
        - `type` 'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'
    - `currency` string — ISO 4217 currency code
    - `dueDate` string, date — Due date of the invoice, format yyyy-mm-dd
    - `kid` string — Norwegian KID number. Number from 2 to 25 digits long.
    - `paymentAccount` string
    - `salePayments` Payment[]
      - `paymentId` integer — Id of given payment.
      - `date` string, date, required — Payment date, format yyyy-mm-dd
      - `account` string, required — Account associated with payment.
      - `amount` integer, required — Amount paid in the specified currency. If no currency is provided then currency defaults to "NOK". Formatted in cents (34000 = 340.00)
      - `amountInNok` integer — Attribute of a foreign payment only. Is required if amount is provided in currency other than NOK and should be the actual amount that was received in the bank account. Fiken calculates the value based on the exchange rate for the given date if no amountInNok is sent. Formatted in cents (500000 = 5000.00)
      - `currency` string — Only specify the currency if other than "NOK", otherwise default currency is "NOK". ISO 4217 currency code
      - `fee` integer — Any fees additional to the amount paid in the specified currency. This is always a "NOK" amount even if the sale currency is a different currency.
    - `saleAttachments` Attachment[]
      - `uuid` string, uuid — Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.
      - `filename` string — The name of the underlying file.
      - `identifier` string — User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.
      - `downloadUrl` string — For use with API credentials (bearer token or oauth 2)
      - `downloadUrlWithFikenNormalUserCredentials` string — Requires the user to login with username and password in Fiken.
      - `comment` string — Field for additional information for this attachment.
      - `type` 'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'
    - `paymentDate` string, date — Payment date of the invoice, format yyyy-mm-dd
    - `project` ProjectResult
      - `projectId` integer
      - `number` string
      - `name` string
      - `description` string
      - `startDate` string, date — Start date for the project, inclusive, format yyyy-mm-dd
      - `endDate` string, date — End date for the project, inclusive, format yyyy-mm-dd
      - `contact` Contact
        - `contactId` integer
        - `createdDate` string, date — Date that contact was created in Fiken, format yyyy-mm-dd.
        - `lastModifiedDate` string, date — Date that contact was last modified in Fiken, format yyyy-mm-dd.
        - `name` string, required
        - `email` string
        - `organizationNumber` string — Brreg organization number.
        - `customerNumber` integer
        - `customerAccountCode` string — Format 1500:XXXXX
        - `phoneNumber` string
        - `memberNumber` number — A number that can be used to connect a contact to your own data. This field is no longer used and instead memberNumberString should be used.
        - `memberNumberString` string — A number/id that can be used to connect a contact to your own data.
        - `supplierNumber` integer
        - `supplierAccountCode` string — Format 2400:XXXXX
        - `customer` boolean — True if the contact is a customer. It is possible for a contact to be both customer and supplier.
        - `supplier` boolean — True if the contact is a supplier. It is possible for a contact to be both supplier and customer.
        - `bankAccountNumber` string
        - `contactPerson` ContactPerson[]
          - `contactPersonId` integer
          - `name` string, required
          - `email` string, required
          - `phoneNumber` string
          - `address` Address
            - `streetAddress` string
            - `streetAddressLine2` string
            - `city` string
            - `postCode` string
            - `country` string, required
        - `notes` ContactNote[]
          - `author` string
          - `note` string
        - `currency` string — ISO 4217 currency code. Default foreign currency to use when creating invoice to this contact (USD, EUR, SEK etc)
        - `language` string, nullable — The language to use when sending documents to this contact. NORWEGIAN or ENGLISH. Defaults to NORWEGIAN.
        - `inactive` boolean — Whether the contact has been deactivated (true) or is active (false)
        - `daysUntilInvoicingDueDate` integer — Default number of days until due date for invoices.
        - `discount` number — Discount value should be a percent with a value between 0 and 100. Decimal values such as 25.5 are also allowed.
        - `address` Address
          - `streetAddress` string
          - `streetAddressLine2` string
          - `city` string
          - `postCode` string
          - `country` string, required
        - `groups` string[]
        - `documents` Attachment[]
          - `uuid` string, uuid — Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.
          - `filename` string — The name of the underlying file.
          - `identifier` string — User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.
          - `downloadUrl` string — For use with API credentials (bearer token or oauth 2)
          - `downloadUrlWithFikenNormalUserCredentials` string — Requires the user to login with username and password in Fiken.
          - `comment` string — Field for additional information for this attachment.
          - `type` 'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'
      - `completed` boolean — Whether the project is completed or not.
    - `notes` Note[]
      - `author` string
      - `note` string
    - `deleted` boolean — Whether the sale has been deleted or not

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) · [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fiken/fiken-api/revisions/2473dacdb89c/schema)
