Please enable JavaScript to view this site.

Made in EU
Fortnox Forums

Navigation: Catalog: Fortnox > Schemas > Schema: Invoices > Tables

InvoiceEmailInvoiceLinesByDocumentNumber

Send an invoice as emailYou can use the properties in the EmailInformation to customize the e-mail message on each invoice.

Catalog: Fortnox

Schema: Invoices

Label: {res:itgen_fnx_invoiceemailinvoicelinesbydocumentnumber_plural}

This is a read-only table function. The Fortnox API may not support changing the data or the Invantive UniversalSQL driver for Fortnox does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Fortnox API.

Parameters of Table Function

The following parameters can be used to control the behaviour of the table function InvoiceEmailInvoiceLinesByDocumentNumber. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.

Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.

Name

Data Type

Required

Default Value

Documentation

DocumentNumber

string

 

identifies the invoice

financialyear

int64

 

Selects what financial year that should be used (does not work on every table).

financialyeardate

datetime

 

Selects by date, what financial year that should be used (does not work on every table).

fromdate

datetime

 

Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table).

lastmodified

datetime

 

Retrieves all records since the provided timestamp (does not work on every table).

todate

datetime

 

Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table).

 

Columns of Table Function

The columns of the table function InvoiceEmailInvoiceLinesByDocumentNumber are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

AccountingMethod

string

{res:itgen_fnx_accountingmethod}

 

AccountNumber

int32

{res:itgen_fnx_accountnumber}

 

Address1

string

{res:itgen_fnx_address1}

 

Address2

string

{res:itgen_fnx_address2}

 

AdministrationFee

double

{res:itgen_fnx_administrationfee}

 

AdministrationFeeVAT

double

{res:itgen_fnx_administrationfeevat}

 

ArticleNumber

string

{res:itgen_fnx_articlenumber}

 

Balance

double

{res:itgen_fnx_balance}

 

BasisTaxReduction

double

{res:itgen_fnx_basistaxreduction}

 

Booked

boolean

{res:itgen_fnx_booked}

 

c_url

string

{res:itgen_fnx_c_url}

 

c_urlTaxReductionList

string

{res:itgen_fnx_c_urltaxreductionlist}

 

Cancelled

boolean

{res:itgen_fnx_cancelled}

 

City

string(1024)

{res:itgen_fnx_city}

 

Comments

string(1024)

{res:itgen_fnx_comments}

 

ContractReference

int32

{res:itgen_fnx_contractreference}

 

ContributionPercent_2

double

{res:itgen_fnx_contributionpercent_2}

 

ContributionPercent

string

{res:itgen_fnx_contributionpercent}

 

ContributionValue_2

double

{res:itgen_fnx_contributionvalue_2}

 

ContributionValue

string

{res:itgen_fnx_contributionvalue}

 

CostCenter_2

string

{res:itgen_fnx_costcenter_2}

 

CostCenter

string

{res:itgen_fnx_costcenter}

 

Country

string

{res:itgen_fnx_country}

 

Credit

string

{res:itgen_fnx_credit}

 

CreditInvoiceReference

string

{res:itgen_fnx_creditinvoicereference}

 

Currency

string

{res:itgen_fnx_currency}

 

CurrencyRate

double

{res:itgen_fnx_currencyrate}

 

CurrencyUnit

int32

{res:itgen_fnx_currencyunit}

 

CustomerName

string

{res:itgen_fnx_customername}

 

CustomerNumber

string

{res:itgen_fnx_customernumber}

 

DeliveredQuantity

string

{res:itgen_fnx_deliveredquantity}

 

DeliveryAddress1

string(1024)

{res:itgen_fnx_deliveryaddress1}

 

DeliveryAddress2

string(1024)

{res:itgen_fnx_deliveryaddress2}

 

DeliveryCity

string(1024)

{res:itgen_fnx_deliverycity}

 

DeliveryCountry

string

{res:itgen_fnx_deliverycountry}

 

DeliveryDate

datetime

{res:itgen_fnx_deliverydate}

 

DeliveryName

string(1024)

{res:itgen_fnx_deliveryname}

 

DeliveryZipCode

string(1024)

{res:itgen_fnx_deliveryzipcode}

 

Description

string(255)

{res:itgen_fnx_description}

 

Discount

double

{res:itgen_fnx_discount}

 

DiscountType

string

{res:itgen_fnx_discounttype}

 

DocumentNumber

string

{res:itgen_fnx_documentnumber}

 

DueDate

datetime

{res:itgen_fnx_duedate}

 

EDIInformation_EDIGlobalLocationNumber

string(13)

{res:itgen_fnx_ediinformation_edigloballocationnumber}

 

EDIInformation_EDIGlobalLocationNumberDelivery

string(13)

{res:itgen_fnx_ediinformation_edigloballocationnumberdelivery}

 

EDIInformation_EDIInvoiceExtra1

string

{res:itgen_fnx_ediinformation_ediinvoiceextra1}

 

EDIInformation_EDIInvoiceExtra2

string

{res:itgen_fnx_ediinformation_ediinvoiceextra2}

 

EDIInformation_EDIOurElectronicReference

string

{res:itgen_fnx_ediinformation_ediourelectronicreference}

 

EDIInformation_EDIStatus

string

{res:itgen_fnx_ediinformation_edistatus}

 

EDIInformation_EDIYourElectronicReference

string

{res:itgen_fnx_ediinformation_ediyourelectronicreference}

 

EmailInformation_EmailAddressBCC

string

{res:itgen_fnx_emailinformation_emailaddressbcc}

 

EmailInformation_EmailAddressCC

string

{res:itgen_fnx_emailinformation_emailaddresscc}

 

EmailInformation_EmailAddressFrom

string

{res:itgen_fnx_emailinformation_emailaddressfrom}

 

EmailInformation_EmailAddressTo

string

{res:itgen_fnx_emailinformation_emailaddressto}

 

EmailInformation_EmailBody

string(20000)

{res:itgen_fnx_emailinformation_emailbody}

 

EmailInformation_EmailSubject

string(100)

{res:itgen_fnx_emailinformation_emailsubject}

 

EUQuarterlyReport

boolean

{res:itgen_fnx_euquarterlyreport}

 

ExternalInvoiceReference1

string(80)

{res:itgen_fnx_externalinvoicereference1}

 

ExternalInvoiceReference2

string(80)

{res:itgen_fnx_externalinvoicereference2}

 

FinalPayDate

datetime

{res:itgen_fnx_finalpaydate}

 

Freight

double

{res:itgen_fnx_freight}

 

FreightVAT

double

{res:itgen_fnx_freightvat}

 

Gross

double

{res:itgen_fnx_gross}

 

HouseWork_2

boolean

{res:itgen_fnx_housework_2}

 

HouseWork

boolean

{res:itgen_fnx_housework}

 

HouseWorkHoursToReport

int32

{res:itgen_fnx_houseworkhourstoreport}

 

HouseWorkType

string

{res:itgen_fnx_houseworktype}

 

InvoiceDate

datetime

{res:itgen_fnx_invoicedate}

 

InvoicePeriodEnd

datetime

{res:itgen_fnx_invoiceperiodend}

 

InvoicePeriodReference

string

{res:itgen_fnx_invoiceperiodreference}

 

InvoicePeriodStart

datetime

{res:itgen_fnx_invoiceperiodstart}

 

InvoiceType

string

{res:itgen_fnx_invoicetype}

 

Language

string

{res:itgen_fnx_language}

 

LastRemindDate

datetime

{res:itgen_fnx_lastreminddate}

 

Net

double

{res:itgen_fnx_net}

 

NotCompleted

boolean

{res:itgen_fnx_notcompleted}

 

NoxFinans

boolean

{res:itgen_fnx_noxfinans}

 

OCR

string

{res:itgen_fnx_ocr}

 

OfferReference

string

{res:itgen_fnx_offerreference}

 

OrderReference

string

{res:itgen_fnx_orderreference}

 

OrganisationNumber

string

{res:itgen_fnx_organisationnumber}

 

OurReference

string(50)

{res:itgen_fnx_ourreference}

 

OutboundDate

datetime

{res:itgen_fnx_outbounddate}

 

PaymentWay

string

{res:itgen_fnx_paymentway}

 

Phone1

string(1024)

{res:itgen_fnx_phone1}

 

Phone2

string(1024)

{res:itgen_fnx_phone2}

 

Price

double

{res:itgen_fnx_price}

 

PriceExcludingVAT

double

{res:itgen_fnx_priceexcludingvat}

 

PriceList

string

{res:itgen_fnx_pricelist}

 

PrintTemplate

string

{res:itgen_fnx_printtemplate}

 

Project_2

string

{res:itgen_fnx_project_2}

 

Project

string

{res:itgen_fnx_project}

 

Remarks

string(1024)

{res:itgen_fnx_remarks}

 

Reminders

int32

{res:itgen_fnx_reminders}

 

RoundOff

double

{res:itgen_fnx_roundoff}

 

RowId

int32

{res:itgen_fnx_rowid}

 

Sent

boolean

{res:itgen_fnx_sent}

 

StockPointCode

string

{res:itgen_fnx_stockpointcode}

 

TaxReduction

int32

{res:itgen_fnx_taxreduction}

 

TaxReductionType

string

{res:itgen_fnx_taxreductiontype}

 

TermsOfDelivery

string

{res:itgen_fnx_termsofdelivery}

 

TermsOfPayment

string

{res:itgen_fnx_termsofpayment}

 

TimeBasisReference

int32

{res:itgen_fnx_timebasisreference}

 

Total_2

double

{res:itgen_fnx_total_2}

 

Total

double

{res:itgen_fnx_total}

 

TotalExcludingVAT

double

{res:itgen_fnx_totalexcludingvat}

 

TotalToPay

double

{res:itgen_fnx_totaltopay}

 

TotalVAT

double

{res:itgen_fnx_totalvat}

 

Unit

string

{res:itgen_fnx_unit}

 

VAT

int32

{res:itgen_fnx_vat}

 

VATCode

string

{res:itgen_fnx_vatcode}

 

VATIncluded

boolean

{res:itgen_fnx_vatincluded}

 

VoucherNumber

int32

{res:itgen_fnx_vouchernumber}

 

VoucherSeries

string

{res:itgen_fnx_voucherseries}

 

VoucherYear

int32

{res:itgen_fnx_voucheryear}

 

WarehouseReady

boolean

{res:itgen_fnx_warehouseready}

 

WayOfDelivery

string

{res:itgen_fnx_wayofdelivery}

 

YourOrderNumber

string(75)

{res:itgen_fnx_yourordernumber}

 

YourReference

string(50)

{res:itgen_fnx_yourreference}

 

ZipCode

string(1024)

{res:itgen_fnx_zipcode}

 

 

03-06-2025 18:15 Version 24.1.110-BETA+5438

X

Important Safety and Usage Information

Intended Use and Limitations: This software, developed by Invantive, is designed to support a variety of business and information technology data processing functions, such as accounting, financial reporting an sales reporting. It is important to note that this software is not designed, tested, or approved for use in environments where malfunction or failure could lead to life-threatening situations or severe physical or environmental damage. This includes, but is not limited to:

  • Nuclear facilities: The software should not be used for operations or functions related to the control, maintenance, or operation of nuclear facilities.
  • Defense and Military Applications: This software is not suitable for use in defense-related applications, including but not limited to weaponry control, military strategy planning, or any other aspects of national defense.
  • Aviation: The software is not intended for use in the operation, navigation, or communication systems of any aircraft or air traffic control environments.
  • Healthcare and Medicine Production: This software should not be utilized for medical device operation, patient data analysis for critical health decisions, pharmaceutical production, or medical research where its failure or malfunction could impact patient health.
  • Chemical and Hazardous Material Handling: This software is not intended for the management, control, or operational aspects of chemical plants or hazardous material handling facilities. Any malfunction in software used in these settings could result in dangerous chemical spills, explosions, or environmental disasters.
  • Transportation and Traffic Control Systems: The software should not be used for the control, operation, or management of transportation systems, including railway signal controls, subway systems, or traffic light management. Malfunctions in such critical systems could lead to severe accidents and endanger public safety.
  • Energy Grid and Utility Control Systems: This software is not designed for the control or operation of energy grid systems, including electrical substations, renewable energy control systems, or water utility control systems. The failure of software in these areas could lead to significant power outages, water supply disruptions, or other public utility failures, potentially endangering communities and causing extensive damage.
  • Other High-Risk Environments: Any other critical infrastructure and environments where a failure of the software could result in significant harm to individuals or the environment.

User Responsibility: Users must ensure that they understand the intended use of the software and refrain from deploying it in any setting that falls outside of its designed purpose. It is the responsibility of the user to assess the suitability of the software for their intended application, especially in any scenarios that might pose a risk to life, health, or the environment.

Disclaimer of Liability: Invantive disclaims any responsibility for damage, injury, or legal consequences resulting from the use or misuse of this software in prohibited or unintended applications.

  
Disclaimer