invantive documentation
Invantive Support ForumsLog In / Sign Up

OrderLinesByDocumentNumber: Fortnox Order Lines by Document Number

read only REST

  • Catalog: Fortnox
  • Schema: Orders
  • Label: Order Lines by Document Number

Retrieve a single order

Can only retrieve data.

API Source

  • Endpoint: /3/orders/{DocumentNumber}
  • Operation: get /3/orders/{DocumentNumber}

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
DocumentNumber `` identifies the order
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).
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 OrderLinesByDocumentNumber 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
AccountNumber int32 Account Number writable, AccountNumber
Address1 varchar2 Address Line 1 writable, ::ancestor.Address1
Address2 varchar2 Address Line 2 writable, ::ancestor.Address2
AdministrationFee double Administration Fee writable, ::ancestor.AdministrationFee
AdministrationFeeVAT double Administration Fee VAT writable, ::ancestor.AdministrationFeeVAT
ArticleNumber varchar2 Article Number writable, ArticleNumber
BasisTaxReduction double Basis Tax Reduction writable, ::ancestor.BasisTaxReduction
Cancelled char Cancelled writable, ::ancestor.Cancelled
City varchar2 City writable, ::ancestor.City
Comments varchar2 Comments writable, ::ancestor.Comments
ContributionPercent varchar2 Contribution Percent writable, ContributionPercent
ContributionPercent_2 double Contribution Percent 2 writable, ::ancestor.ContributionPercent
ContributionValue varchar2 Contribution Value writable, ContributionValue
ContributionValue_2 double Contribution Value 2 writable, ::ancestor.ContributionValue
CopyRemarks char Copy Remarks writable, ::ancestor.CopyRemarks
CostCenter varchar2 Cost Centre writable, CostCenter
CostCenter_2 varchar2 Cost Centre 2 writable, ::ancestor.CostCenter
Country varchar2 Country writable, ::ancestor.Country
Currency varchar2(3) Currency writable, ::ancestor.Currency
CurrencyRate double Currency Rate writable, ::ancestor.CurrencyRate
CurrencyUnit double Currency Unit writable, ::ancestor.CurrencyUnit
CustomerName varchar2 Customer Name writable, ::ancestor.CustomerName
CustomerNumber varchar2 Customer Number writable, ::ancestor.CustomerNumber
DeliveredQuantity varchar2 Delivered Quantity writable, DeliveredQuantity
DeliveryAddress1 varchar2 Delivery Address 1 writable, ::ancestor.DeliveryAddress1
DeliveryAddress2 varchar2 Delivery Address 2 writable, ::ancestor.DeliveryAddress2
DeliveryCity varchar2 Delivery City writable, ::ancestor.DeliveryCity
DeliveryCountry varchar2 Delivery Country writable, ::ancestor.DeliveryCountry
DeliveryDate datetime Delivery Date writable, ::ancestor.DeliveryDate
DeliveryName varchar2 Delivery Name writable, ::ancestor.DeliveryName
DeliveryState varchar2 Delivery State writable, ::ancestor.DeliveryState
DeliveryZipCode varchar2 Delivery Zip Code writable, ::ancestor.DeliveryZipCode
Description varchar2 Description writable, Description
Discount double Discount writable, Discount
DiscountType varchar2 Discount Type writable, DiscountType
DocumentNumber varchar2 Document Number writable, ::ancestor.DocumentNumber
EmailInformation_EmailAddressBCC varchar2 Email Information Email Address Bcc writable, ::ancestor.EmailInformation.EmailAddressBCC
EmailInformation_EmailAddressCC varchar2 Email Information Email Address CC writable, ::ancestor.EmailInformation.EmailAddressCC
EmailInformation_EmailAddressFrom varchar2 Email Information Email Address From writable, ::ancestor.EmailInformation.EmailAddressFrom
EmailInformation_EmailAddressTo varchar2 Email Information Email Address To writable, ::ancestor.EmailInformation.EmailAddressTo
EmailInformation_EmailBody varchar2 Email Information Email Body writable, ::ancestor.EmailInformation.EmailBody
EmailInformation_EmailSubject varchar2 Email Information Email Subject writable, ::ancestor.EmailInformation.EmailSubject
ExternalInvoiceReference1 varchar2 External Invoice Reference 1 writable, ::ancestor.ExternalInvoiceReference1
ExternalInvoiceReference2 varchar2 External Invoice Reference 2 writable, ::ancestor.ExternalInvoiceReference2
Freight double Freight writable, ::ancestor.Freight
FreightVAT double Freight VAT writable, ::ancestor.FreightVAT
Gross double Gross writable, ::ancestor.Gross
HouseWork char House Work writable, HouseWork
HouseWorkHoursToReport int32 House Work Hours to Report writable, HouseWorkHoursToReport
HouseWorkType varchar2 House Worktype writable, HouseWorkType
HouseWork_2 char House Work 2 writable, ::ancestor.HouseWork
InvoiceReference varchar2 Invoice Reference writable, ::ancestor.InvoiceReference
Language varchar2 Language writable, ::ancestor.Language
Net double Net writable, ::ancestor.Net
NotCompleted char Notcompleted writable, ::ancestor.NotCompleted
OfferReference varchar2 Offer Reference writable, ::ancestor.OfferReference
OrderDate datetime Order Date writable, ::ancestor.OrderDate
OrderType varchar2 Order Type writable, ::ancestor.OrderType
OrderedQuantity varchar2 Ordered Quantity writable, OrderedQuantity
OrganisationNumber varchar2 Organisation Number writable, ::ancestor.OrganisationNumber
OurReference varchar2(50) Ourreference writable, ::ancestor.OurReference
OutboundDate datetime Outbound Date writable, ::ancestor.OutboundDate
Phone1 varchar2 Phone 1 writable, ::ancestor.Phone1
Phone2 varchar2 Phone 2 writable, ::ancestor.Phone2
Price double Price writable, Price
PriceList varchar2 Price List writable, ::ancestor.PriceList
PrintTemplate varchar2 Print Template writable, ::ancestor.PrintTemplate
Project varchar2 Project writable, Project
Project_2 varchar2 Project 2 writable, ::ancestor.Project
Remarks varchar2(1024) Remarks writable, ::ancestor.Remarks
ReservedQuantity varchar2 Reserved Quantity writable, ReservedQuantity
RoundOff double Round Off writable, ::ancestor.RoundOff
RowId int32 Row ID writable, RowId
Sent char Sent writable, ::ancestor.Sent
StockPointCode varchar2 Stock Point Code writable, StockPointCode
StockPointCode_2 varchar2 Stock Point Code 2 writable, ::ancestor.StockPointCode
StockPointId varchar2 Stock Point ID writable, StockPointId
StockPointId_2 varchar2 Stock Point ID 2 writable, ::ancestor.StockPointId
TaxReduction double Tax Reduction writable, ::ancestor.TaxReduction
TaxReductionType varchar2 Tax Reduction Type writable, ::ancestor.TaxReductionType
TermsOfDelivery varchar2 Terms of Delivery writable, ::ancestor.TermsOfDelivery
TermsOfPayment varchar2 Terms of Payment writable, ::ancestor.TermsOfPayment
TimeBasisReference int32 Time Basis Reference writable, ::ancestor.TimeBasisReference
Total double Total writable, Total
TotalToPay double Total to Pay writable, ::ancestor.TotalToPay
TotalVAT double Total VAT writable, ::ancestor.TotalVAT
Total_2 double Total 2 writable, ::ancestor.Total
Unit varchar2 Unit writable, Unit
VAT double VAT writable, VAT
VATCode varchar2 VAT Code writable, VATCode
VATIncluded char Vatincluded writable, ::ancestor.VATIncluded
WarehouseReady char Warehouse Ready writable, ::ancestor.WarehouseReady
WayOfDelivery varchar2 Way of Delivery writable, ::ancestor.WayOfDelivery
YourOrderNumber varchar2(75) Your Order Number writable, ::ancestor.YourOrderNumber
YourReference varchar2(50) Your Reference writable, ::ancestor.YourReference
ZipCode varchar2 ZIP Code writable, ::ancestor.ZipCode
c_url varchar2 Call URL writable, ::ancestor.@url
c_urlTaxReductionList varchar2 URL Tax Reduction List writable, ::ancestor.@urlTaxReductionList

Release Notes

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