Please enable JavaScript to view this site.

Error itgendoc001X

xMsg javascript has not been loaded.

Exact Online API Data Model

Navigation: Catalog: ExactOnlineREST > Schemas > Schema: SalesInvoice > Tables

PrintedSalesInvoices: Exact Online Printed Sales Invoices

Contents Previous Home Next More

Catalog: ExactOnlineREST

Schema: SalesInvoice

Primary Keys: ID

Label: Printed Sales Invoices

The data in this table is partitioned per value of the Division column.

Retrieve: false

Insert: true

Update: false

Delete: false

Select Exact Online API URL: /api/v1/{division}/salesinvoice/PrintedSalesInvoices

Insert Exact Online API URL: /api/v1/{division}/salesinvoice/PrintedSalesInvoices

Update Exact Online API URL: /api/v1/{division}/salesinvoice/PrintedSalesInvoices

Delete Exact Online API URL: /api/v1/{division}/salesinvoice/PrintedSalesInvoices

Exact Online API Metadata URL: /api/v1/{division}/salesinvoice/$metadata

Field Selection Method: Required

Table Function Parameters

The following parameters can be used to control the behaviour of the table function PrintedSalesInvoices. 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 treated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example with `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

division

int32

 

ID of the division to retrieve data for.

 

Table Function Columns

The columns of the table function PrintedSalesInvoices 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.

Name

Data Type

Label

Required

Documentation

Division

int32

Division

Division code.

DivisionCompanyCoCNumber

string(20)

Division Chamber of Commerce Number

Chamber of commerce number of the Exact Online division.

DivisionCompanyIBANNumber

string(50)

Division IBAN Number

IBAN number of the Exact Online division.

DivisionCompanyName

string(50)

Division Company Name

Company name of the Exact Online division.

DivisionCompanyRSINNumber

string(9)

Division RSIN Number

RSIN number of the Exact Online division.

DivisionCompanyVATNumber

string(35)

Division VAT Number

VAT number of the Exact Online division.

DivisionCompanyWageTaxNumber

string(60)

Division Wage Tax Number

Wage tax number of the Exact Online division.

DivisionLabel

string(128)

Division Label

Label of the Exact Online division.

DivisionName

string(50)

Administration Name

Name of the Exact Online division.

DivisionOwnerCompanyName

string(50)

Subscription Holder Name

Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionOwnerCompanyNumber

string(18)

Subscription Holder Number

Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionShortName

int64

Division Short Name

Short name of the Exact Online division.

Document

guid

Document

Contains the id of the document that was created.

DocumentCreationError

string

 

Contains the error message if an error occurred during the creation of the document.

DocumentCreationSuccess

string

 

Contains information if a document was succesfully created.

DocumentLayout

guid

 

Based on this layout a PDF is created and attached to an Exact Online document and an email.

EmailCreationError

string

 

Contains the error message if an error occurred during the creation of the email.

EmailCreationSuccess

string

 

Contains confirmation that an email was sent. If an email cannot be delivered this property will still show confirmation that the email was sent.

EmailLayout

guid

Email Layout

Based on this layout the email text is produced.

ExtraText

string

 

Extra text that can be added to the printed document and email.

InvoiceDate

datetime

Invoice Date

Date of the invoice.

InvoiceID

guid

Invoice ID

Primary key, Reference to EntryID of SalesInvoice.

PostboxMessageCreationError

string

 

Contains the error message if an error occurred during the sending of a postbox message.

PostboxMessageCreationSuccess

string

 

Contains information if a postbox message was succesfully sent.

PostboxSender

guid

 

The postbox from where the message is sent.

ReportingPeriod

int32

Reporting Period

Reporting period.

ReportingYear

int32

Reporting Year

Reporting year.

SendEmailToCustomer

boolean

Send Email to Customer

Set to True if an email containing the invoice should be sent to the invoice customer. This option overrules SendInvoiceToCustomerPostbox.

SenderEmailAddress

string(128)

 

Email address from which the email will be sent. If not specified, the company email address will be used.

SendInvoiceToCustomerPostbox

boolean

 

Set to True if a postbox message containing the invoice should be sent to the invoice customer.

SendOutputBasedOnAccount

boolean

 

Set to True if the output preference should be taken from the account. It will be either Document only, Email or Digital postbox. This option overrules both SendEmailToCustomer and SendInvoiceToCustomerPostbox.

 

07-11-2021 09:07 Version 20.2.94-PROD+3513