offers

Returns all offers for given company

get/companies/{companySlug}/offers

Query parameters

pageinteger

Returns the number of the page to return. Valid page values are integers from 0 to the total number of pages. Default value is 0.

pageSizeinteger

Defines the number of entries to return on each page. Maximum number of results that can be returned at one time are 100. Default value is 25.

Response

OK

offerIdinteger

offer ID

offerDraftUuidstring

UUID are represented as 32 hexadecimal (base-16) digits, displayed in 5 groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters.

datestring date

Date for offer

offerNumberinteger

Unique offer number generated by us.

netinteger

Net amount (in invoice currency) in cents.

vatinteger

VAT amount (in invoice currency) in cents.

grossinteger

Gross amount (= net+VAT) (in invoice currency) in cents.

commentstring

Comment/description

yourReferencestring
ourReferencestring
orderReferencestring

Reference if sending invoice via EHF.

discountnumber

The discount amount in the specified currency.

currencystring

ISO 4217 currency code, default value is NOK

contactIdinteger

Contact associated with offer.

contactPersonIdinteger

Contact person associated with offer. Must belong to the provided contact.

projectIdinteger
archivedboolean

If order confirmation has been archived or not.

acceptedstring date

Date that the offer was accepted. If null, the offer has not been accepted

Example response

[
  {
    "offerId": 2888156,
    "offerDraftUuid": "123e4567-e89b-12d3-a456-426655440000",
    "date": "2018-04-03",
    "offerNumber": 10001,
    "net": 25000,
    "vat": 5000,
    "gross": 30000,
    "discount": 2500,
    "address": {
      "streetAddress": "Karl Johan 34",
      "streetAddressLine2": "H0405",
      "city": "Oslo",
      "postCode": "0550",
      "country": "Norway"
    },
    "lines": [
      {
        "net": 4500,
        "vat": 500,
        "vatType": "HIGH",
        "gross": 5000,
        "netInNok": 4500,
        "vatInNok": 500,
        "grossInNok": 5000,
        "vatInPercent": 25,
        "unitPrice": 4550,
        "quantity": 5,
        "discount": 25,
        "productId": 2888156,
        "productName": "Gardening Gloves VI2",
        "description": "Goatskin, with extra-long suede cuffs",
        "comment": "One size fits all",
        "incomeAccount": "3000"
      }
    ],
    "contactId": 9688154,
    "contactPersonId": 9688154,
    "projectId": 2815556,
    "accepted": "2025-04-03",
    "dispatches": [
      {
        "date": "2024-04-03",
        "dispatchType": "email"
      }
    ]
  }
]

Changes

No recorded changes to this endpoint across all 1 revision of this API.