---
title: "GET /companies/{companySlug}/purchases/drafts/{draftId}"
method: GET
path: "/companies/{companySlug}/purchases/drafts/{draftId}"
tags: ["purchases"]
---

# GET /companies/{companySlug}/purchases/drafts/{draftId}

`GET /companies/{companySlug}/purchases/drafts/{draftId}`

Returns draft with specified id.

## Response `200`

OK

- DraftResult
  - `draftId` integer — Draft ID
  - `uuid` string — 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.
  - `invoiceIssueDate` string, date — Issue date of the draft, format yyyy-mm-dd
  - `dueDate` string, date — Due date of draft, format yyyy-mm-dd
  - `invoiceNumber` string — If invoice associated with draft, this is the invoice number (not to be confused with the invoiceId of an invoice issued from Fiken)
  - `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'
  - `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.
  - `cash` boolean — If a cash sale/purchase (true) or otherwise (false)
  - `currency` string — ISO 4217 currency code
  - `kid` string — Norwegian KID number. Number from 2 to 25 digits long.
  - `paid` boolean — Whether the sale/purchase has been paid (true) or not (false)
  - `attachments` 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'
  - `payments` 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.
  - `lines` DraftLineResult[]
    - `text` string — Description of the sale/purchase line.
    - `vatType` string — 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]
    - `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.
    - `net` integer — Net amount (in creditNote currency) in cents.
    - `gross` integer — Gross amount (= net+VAT) (in creditNote currency) in cents.
    - `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.

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) · [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fiken/apis/fiken-api/revisions/2473dacdb89c?raw)
