Please enable JavaScript to view this site.

Made in EU
Visma Severa Forums

Navigation: Schema: API > Tables

CreateInvoices: Visma Severa Create Invoices

Catalog: Severa

Schema: API

Label: Create Invoices

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

Filters on API Server: invoiceInformation_Date- invoiceInformation_DueDate- invoiceInformation_InvoiceStatus- invoiceInformation_ItemGUIDs- invoiceInformation_LanguageGUID- invoiceInformation_Notes- invoiceInformation_OurReference- invoiceInformation_OverDueInterest- invoiceInformation_PaymentTerm- invoiceInformation_ReceiverAddressline- invoiceInformation_ReceiverCity- invoiceInformation_ReceiverContactEmail- invoiceInformation_ReceiverContactName- invoiceInformation_ReceiverCountry- invoiceInformation_ReceiverCustomerName- invoiceInformation_ReceiverPostalCode- invoiceInformation_ReceiverState- invoiceInformation_ReceiverVatNumber- invoiceInformation_SenderAddressline- invoiceInformation_SenderCity- invoiceInformation_SenderContactName- invoiceInformation_SenderCountry- invoiceInformation_SenderName- invoiceInformation_SenderPostalCode- invoiceInformation_SenderState- invoiceInformation_SenderVatNumber- invoiceInformation_YourReference

Parameters of Table Function

The following parameters can be used to control the behaviour of the table function CreateInvoices. 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

invoiceInformation_Date

datetime

 

 

invoiceInformation_DueDate

datetime

 

 

invoiceInformation_InvoiceStatus

string

 

 

invoiceInformation_ItemGUIDs

string

 

 

invoiceInformation_LanguageGUID

string

 

 

invoiceInformation_Notes

string

 

 

invoiceInformation_OurReference

string

 

 

invoiceInformation_OverDueInterest

decimal

 

 

invoiceInformation_PaymentTerm

int32

 

 

invoiceInformation_ReceiverAddressline

string

 

 

invoiceInformation_ReceiverCity

string

 

 

invoiceInformation_ReceiverContactEmail

string

 

 

invoiceInformation_ReceiverContactName

string

 

 

invoiceInformation_ReceiverCountry

string

 

 

invoiceInformation_ReceiverCustomerName

string

 

 

invoiceInformation_ReceiverPostalCode

string

 

 

invoiceInformation_ReceiverState

string

 

 

invoiceInformation_ReceiverVatNumber

string

 

 

invoiceInformation_SenderAddressline

string

 

 

invoiceInformation_SenderCity

string

 

 

invoiceInformation_SenderContactName

string

 

 

invoiceInformation_SenderCountry

string

 

 

invoiceInformation_SenderName

string

 

 

invoiceInformation_SenderPostalCode

string

 

 

invoiceInformation_SenderState

string

 

 

invoiceInformation_SenderVatNumber

string

 

 

invoiceInformation_YourReference

string

 

 

 

Columns of Table Function

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

Name

Data Type

Label

Required

Documentation

ACCOUNTGUID

string

Account GUID

 

 

ACCOUNTNAME

string

Account Name

 

 

ACCOUNTNUMBER

int64

Account Number

 

 

BUSINESSUNITCODE

string

Business Unit Code

 

 

BUSINESSUNITGUID

string

Business Unit GUID

 

 

BUSINESSUNITNAME

string

Business Unit Name

 

 

BUYERORGANIZATION_BUYERCONTACTPERSONNAME

string

 

 

 

BUYERORGANIZATION_BUYERELECTRONICINVOICEADDRESS

string

 

 

 

BUYERORGANIZATION_BUYERELECTRONICINVOICEOPERATOR

string

 

 

 

BUYERORGANIZATION_BUYEREMAILADDRESSIDENTIFIER

string

 

 

 

BUYERORGANIZATION_BUYERORGANISATIONNAME

string

 

 

 

BUYERORGANIZATION_BUYERORGANISATIONTAXCODE

string

 

 

 

BUYERORGANIZATION_BUYERPARTYIDENTIFIER

string

 

 

 

BUYERORGANIZATION_BUYERPHONENUMBERIDENTIFIER

string

 

 

 

BUYERORGANIZATION_BUYERPOSTALADDRESSDETAILS_COUNTRY

string

 

 

 

BUYERORGANIZATION_BUYERPOSTALADDRESSDETAILS_COUNTRYCODE

string

 

 

 

BUYERORGANIZATION_BUYERPOSTALADDRESSDETAILS_POSTCODEIDENTIFIER

string

 

 

 

BUYERORGANIZATION_BUYERPOSTALADDRESSDETAILS_STREETNAME

string

 

 

 

BUYERORGANIZATION_BUYERPOSTALADDRESSDETAILS_TOWNNAME

string

 

 

 

CULTURE

string

Culture

 

 

CURRENCYGUID

string

Currency GUID

 

 

CURRENCYNAME

string

Currency Name

 

 

CURRENCYRATE

decimal

Currency Rate

 

 

CURRENCYSHORTFORM

string

Currency Short Form

 

 

DATE

datetime

Date

 

 

DESCRIPTION

string

Ddescription

 

 

DUEDATE

datetime

Due Date

 

 

ENTRYDATE

datetime

Entry Date

 

 

GUID

string

GUID

 

 

INVOICEALLOWEDCASEGUIDS

string

 

 

 

INVOICECONFIG_BILLEXPENSE

string

 

 

 

INVOICECONFIG_BILLHOUR

string

 

 

 

INVOICECONFIG_BILLPRODUCT

string

 

 

 

INVOICECONFIG_EXPENSEITEMDESCRIPTIONFORMAT

string

 

 

 

INVOICECONFIG_HOURITEMDESCRIPTIONFORMAT

string

 

 

 

INVOICECONFIG_HOURPRIMARYGROUPBY

string

 

 

 

INVOICECONFIG_HOURSECONDARYGROUPBY

string

 

 

 

INVOICECONFIG_ISTAXFREE

boolean

 

 

 

INVOICECONFIG_PRODUCTITEMDESCRIPTIONFORMAT

string

 

 

 

INVOICECONFIG_PRODUCTPRIMARYGROUPBY

string

 

 

 

INVOICECONFIG_PRODUCTSECONDARYGROUPBY

string

 

 

 

INVOICECONFIG_SHOWATTACHPRICEEXCLUDINGVAT

boolean

 

 

 

INVOICECONFIG_SHOWATTACHUNIT

boolean

 

 

 

INVOICECONFIG_SHOWATTACHUNITPRICE

boolean

 

 

 

INVOICECONFIG_SHOWATTACHVAT

boolean

 

 

 

INVOICECONFIG_SHOWLOGOONINVOICE

boolean

 

 

 

INVOICECONFIG_SHOWPRICEEXCLUDINGVAT

boolean

 

 

 

INVOICECONFIG_SHOWQUANTITY

boolean

 

 

 

INVOICECONFIG_SHOWUNIT

boolean

 

 

 

INVOICECONFIG_SHOWUNITPRICE

boolean

 

 

 

INVOICECONFIG_SHOWVAT

boolean

 

 

 

INVOICECONFIG_TAXFREEDESCRIPTION

string

 

 

 

INVOICECONFIG_TRAVELPRIMARYGROUPBY

string

 

 

 

INVOICECONFIG_TRAVELSECONDARYGROUPBY

string

 

 

 

INVOICEDETAILS_INVOICEDATE

datetime

 

 

 

INVOICEDETAILS_INVOICEDUEDATE

datetime

 

 

 

INVOICEDETAILS_INVOICENUMBER

int32

 

 

 

INVOICEDETAILS_INVOICETOTALVATAMOUNT

decimal

 

 

 

INVOICEDETAILS_INVOICETOTALVATEXCLUDEDAMOUNT

decimal

 

 

 

INVOICEDETAILS_INVOICETOTALVATINCLUDEDAMOUNT

decimal

 

 

 

INVOICEDETAILS_INVOICETYPETEXT

string

 

 

 

INVOICEDETAILS_ORDERIDENTIFIER

string

 

 

 

INVOICEDETAILS_ORIGINCODE

string

 

 

 

INVOICEDETAILS_PAYMENTOVERDUEFINEFREETEXT

string

 

 

 

INVOICEDETAILS_PAYMENTOVERDUEFINEPERCENT

decimal

 

 

 

INVOICEDETAILS_PAYMENTTERMSFREETEXT

string

 

 

 

INVOICEDETAILS_SELLERREFERENCEIDENTIFIER

string

 

 

 

INVOICEDETAILS_VATBASEAMOUNT

decimal

 

 

 

INVOICEDETAILS_VATRATEAMOUNT

decimal

 

 

 

INVOICEDETAILS_VATRATEPERCENT

int32

 

 

 

INVOICENUMBERINGBUSINESSUNITGUID

string

Invoice Numbering Business Unit GUID

 

 

INVOICEROWS

string

 

 

 

INVOICESTATUS

string

Invoice Status

 

 

ISCREDITNOTE

boolean

Is Credit Note

 

 

ISREIMBURSED

boolean

Is Reimbursed

 

 

ISTAXFREE

boolean

Is Tax Free

 

 

LANGUAGECODE

string

Language Code

 

 

LANGUAGEGUID

string

Language GUID

 

 

MAINCASEGUID

string

Main Case GUID

 

 

NOTES

string

Notes

 

 

NOTESAFTERINVOICEROWS

string

Notes after Invoice Lines

 

 

NOTESBEFOREINVOICEROWS

string

Notes before Invoice Lines

 

 

NUMBER

int32

Number

 

 

ORDERNUMBER

string

Order Number

 

 

OURREFERENCE

string

Our Reference

 

 

OVERDUEINTEREST

decimal

Overdue Interest

 

 

PAYMENTDATE

datetime

Payment Date

 

 

PAYMENTSTATUS

string

Payment Status

 

 

PAYMENTTERM

int32

Payment Term

 

 

PONUMBER

string

PO Number

 

 

RECEIVERADDRESSLINE

string

Receiver Addressline

 

 

RECEIVERCITY

string

Receiver City

 

 

RECEIVERCONTACTEMAIL

string

Receiver Contact Email

 

 

RECEIVERCONTACTNAME

string

Receiver Contact Name

 

 

RECEIVERCOUNTRY

string

Receiver Country

 

 

RECEIVERCUSTOMERNAME

string

Receiver Customer Name

 

 

RECEIVERPOSTALCODE

string

Receiver Postal Code

 

 

RECEIVERSTATE

string

Receiver State

 

 

RECEIVERVATNUMBER

string

Receiver VAT Number

 

 

REFERENCENUMBER

string

Reference Number

 

 

REIMBURSEINVOICEGUID

string

Reimburse Invoice GUID

 

 

SELLERCONTACT_SELLERACCOUNTDETAILS

string

 

 

 

SELLERCONTACT_SELLERCONTACTPERSONNAME

string

 

 

 

SELLERCONTACT_SELLEREMAILADDRESSIDENTIFIER

string

 

 

 

SELLERCONTACT_SELLERFAXNUMBER

string

 

 

 

SELLERCONTACT_SELLERFREETEXT

string

 

 

 

SELLERCONTACT_SELLERHOMETOWNNAME

string

 

 

 

SELLERCONTACT_SELLERPHONENUMBER

string

 

 

 

SELLERCONTACT_SELLERWEBADDRESSIDENTIFIER

string

 

 

 

SELLERORGANIZATION_SELLEREINVOICEADDRESS

string

 

 

 

SELLERORGANIZATION_SELLEREINVOICEOPERATOR

string

 

 

 

SELLERORGANIZATION_SELLERORGANISATIONNAME

string

 

 

 

SELLERORGANIZATION_SELLERORGANISATIONTAXCODE

string

 

 

 

SELLERORGANIZATION_SELLERPARTYIDENTIFIER

string

 

 

 

SELLERORGANIZATION_SELLERPOSTALADDRESSDETAILS_COUNTRY

string

 

 

 

SELLERORGANIZATION_SELLERPOSTALADDRESSDETAILS_COUNTRYCODE

string

 

 

 

SELLERORGANIZATION_SELLERPOSTALADDRESSDETAILS_POSTCODEIDENTIFIER

string

 

 

 

SELLERORGANIZATION_SELLERPOSTALADDRESSDETAILS_STREETNAME

string

 

 

 

SELLERORGANIZATION_SELLERPOSTALADDRESSDETAILS_TOWNNAME

string

 

 

 

SENDERADDRESSLINE

string

Sender Addressline

 

 

SENDERCITY

string

Sender City

 

 

SENDERCONTACTNAME

string

Sender Contact Name

 

 

SENDERCOUNTRY

string

Sender Country

 

 

SENDERNAME

string

Sender Name

 

 

SENDERPOSTALCODE

string

Sender Postal Code

 

 

SENDERSTATE

string

Sender State

 

 

SENDERVATNUMBER

string

Sender VAT Number

 

 

TAXFREEDESCRIPTION

string

Tax Free Description

 

 

TITLE

string

Title

 

 

VIRTUALBANKBARCODE

string

Virtual Bank Barcode

 

 

YOURREFERENCE

string

Your Reference

 

 

 

10-06-2024 19:00 Version 24.1.3-BETA+4689

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