invantive documentation
Invantive Support ForumsLog In / Sign Up

PurchaseOrderById: Fortnox Purchase Order by ID

read only REST

  • Catalog: Fortnox
  • Schema: WarehousePurchaseOrders
  • Label: Purchase Order by ID

Get Purchase Order

Can only retrieve data.

API Source

  • Endpoint: /api/warehouse/purchaseorders-v1/{id}
  • Operation: get /api/warehouse/purchaseorders-v1/{id}

Performance Characteristics

Characteristic Value
Average access latency (ms) 356
Full scan rows per minute 85,000
Point query rows per minute 168

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
financialyear `` Selects what financial year that should be used (does not work on every table).
financialyeardate `` Selects by date, what financial year that should be used (does not work on every table).
fromdate `` Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table).
id `` Purchase order id.
ignoreIncomingGoodsId `` used for calculating the remaining ordered quantity. null will take the received quantity from all incoming goods
lastmodified `` Retrieves all records since the provided timestamp (does not work on every table).
todate `` Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table).

Table Columns

The columns of the table PurchaseOrderById are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
confirmationEmail varchar2(100) Confirmation Email filters on the platform, writable, confirmationEmail
costCenterCode varchar2(25) Cost Centre Code filters on the platform, writable, costCenterCode
currencyCode varchar2(3) Currency Code filters on the platform, writable, currencyCode
currencyRate decimal Currency Rate filters on the platform, writable, currencyRate
currencyUnit int32 Currency Unit filters on the platform, writable, currencyUnit
customerId varchar2(25) Customer ID filters on the platform, writable, customerId
customerName varchar2(1024) Customer Name filters on the platform, writable, customerName
customerNumber varchar2(1024) Customer Number filters on the platform, writable, customerNumber
deliveryAddress varchar2(1024) Delivery Address filters on the platform, writable, deliveryAddress
deliveryAddress2 varchar2(1024) Delivery Address 2 filters on the platform, writable, deliveryAddress2
deliveryCity varchar2(50) Delivery City filters on the platform, writable, deliveryCity
deliveryCountryCode varchar2(3) Delivery Country Code filters on the platform, writable, deliveryCountryCode
deliveryDate datetime Delivery Date filters on the platform, writable, deliveryDate
deliveryName varchar2(50) Delivery Name filters on the platform, writable, deliveryName
deliveryZipCode varchar2(10) Delivery Zip Code filters on the platform, writable, deliveryZipCode
dropship char Dropship filters on the platform, writable, dropship
id int64 ID filters on the platform, writable, id
internalReference varchar2(50) Internal Reference filters on the platform, writable, internalReference
languageCode varchar2(3) Language Code filters on the platform, writable, languageCode
manuallyCompleted char Manually Completed filters on the platform, writable, manuallyCompleted
messageToSupplier varchar2(1000) Message to Supplier filters on the platform, writable, messageToSupplier
note varchar2(1000) Note filters on the platform, writable, note
orderDate datetime Order Date filters on the platform, writable, orderDate
orderValue decimal Order Value filters on the platform, writable, orderValue
orderValueInSEK decimal Order Value in SEK filters on the platform, writable, orderValueInSEK
ourReference varchar2(50) Ourreference filters on the platform, writable, ourReference
outboundDocumentReference_id varchar2 Outbound Document Reference ID filters on the platform, writable, outboundDocumentReference.id
outboundDocumentReference_type varchar2 Outbound Document Reference Type filters on the platform, writable, outboundDocumentReference.type
paymentTermsCode varchar2(20) Payment Terms Code filters on the platform, writable, paymentTermsCode
projectId varchar2(25) Project ID filters on the platform, writable, projectId
purchaseOrderState varchar2 Purchase Order State filters on the platform, writable, purchaseOrderState
purchaseType varchar2 Purchase Type filters on the platform, writable, purchaseType
responseState varchar2 Response State filters on the platform, writable, responseState
stockPointCode varchar2 Stock Point Code filters on the platform, writable, stockPointCode
stockPointId guid Stock Point ID filters on the platform, writable, stockPointId
supplier varchar2 Supplier filters on the platform, writable, supplier
supplierAddress varchar2(1024) Supplier Address filters on the platform, writable, supplierAddress
supplierAddress2 varchar2(1024) Supplier Address 2 filters on the platform, writable, supplierAddress2
supplierCity varchar2(1024) Supplier City filters on the platform, writable, supplierCity
supplierCountryCode varchar2(3) Supplier Country Code filters on the platform, writable, supplierCountryCode
supplierEmail varchar2(100) Supplier Email filters on the platform, writable, supplierEmail
supplierName varchar2(1024) Supplier Name filters on the platform, writable, supplierName
supplierNumber varchar2(1024) Supplier Number filters on the platform, writable, supplierNumber
supplierPostCode varchar2(1024) Supplier Postcode filters on the platform, writable, supplierPostCode
totalReceivedQuantity decimal Total Received Quantity filters on the platform, writable, totalReceivedQuantity
translatedResponseState varchar2 Translated Response State filters on the platform, writable, translatedResponseState
voided char Voided filters on the platform, writable, voided
yourReference varchar2(50) Your Reference filters on the platform, writable, yourReference

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: