Invoices: Teamleader Focus Invoices |
Catalog: Teamleader
Schema: V2
Primary Keys: id
Label: Invoices
This is a read-only table function. The Teamleader Focus API may not support changing the data or the Invantive UniversalSQL driver for Teamleader Focus does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Teamleader Focus API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function Invoices. 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 |
---|---|---|---|---|
deal_id |
guid |
☐ |
|
The ID of the related deal you wish to filter on. |
department_id |
guid |
☐ |
|
Filters on a department (company entity). |
invoice_date_after |
datetime |
☐ |
|
This date is inclusive. |
invoice_date_before |
datetime |
☐ |
|
This date is exclusive. |
invoice_number |
string |
☐ |
|
|
payment_reference |
string |
☐ |
|
|
project_id |
guid |
☐ |
|
The ID of the related project you wish to filter on. |
purchase_order_number |
string |
☐ |
|
|
term |
string |
☐ |
|
Search for term in invoice number, purchase order number, payment reference and invoicee. |
updated_since |
datetime |
☐ |
|
|
Columns of Table Function
The columns of the table function Invoices are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
c_ookpernotaris |
boolean |
{res:itgen_teamleader_c_ookpernotaris} |
☐ |
|
created_at |
datetime |
Created at |
☑ |
|
currency_exchange_rate_from |
string |
{res:itgen_teamleader_currency_exchange_rate_from} |
☐ |
|
currency_exchange_rate_rate |
decimal |
{res:itgen_teamleader_currency_exchange_rate_rate} |
☐ |
|
currency_exchange_rate_to |
string |
{res:itgen_teamleader_currency_exchange_rate_to} |
☐ |
|
deal_id |
string |
Deal ID |
☐ |
|
deal_type |
string |
{res:itgen_teamleader_deal_type} |
☐ |
|
department_id |
string |
Department ID |
☐ |
|
department_type |
string |
Department Type |
☐ |
|
due_on |
datetime |
Due on |
☐ |
|
file_id |
string |
File ID |
☐ |
|
file_type |
string |
File Type |
☐ |
|
id |
string |
ID |
☑ |
|
invoice_date |
datetime |
Invoice Date |
☐ |
|
invoice_number |
string |
Invoice Number |
☐ |
|
invoicee_customer_id |
string |
Invoicee Customer ID |
☑ |
|
invoicee_customer_type |
string |
Invoicee Customer Type |
☑ |
|
invoicee_for_attention_of_contact_id |
string |
Invoice for Attention of Contact ID |
☐ |
|
invoicee_for_attention_of_contact_type |
string |
Invoice for Attention of Contact Type |
☐ |
|
invoicee_for_attention_of_name |
string |
Invoice for Attention of Name |
☐ |
|
invoicee_name |
string |
Invoicee Name |
☑ |
|
invoicee_vat_number |
string |
Invoicee VAT Number |
☐ |
|
paid_at |
datetime |
Paid at |
☐ |
|
paid |
boolean |
Paid |
☑ |
|
payment_reference |
string |
Payment Reference |
☐ |
|
project_id |
string |
Project ID |
☐ |
|
purchase_order_number |
string |
Purchase Order Number |
☐ |
|
sent |
boolean |
{res:itgen_teamleader_sent} |
☑ |
|
status |
string |
Status |
☑ |
|
total_due_amount |
decimal |
Total Due Amount |
☐ |
|
total_due_currency |
string |
Currency of Total Due Amount |
☐ |
|
total_payable_amount |
decimal |
Total Payable Amount |
☐ |
|
total_payable_currency |
string |
Currency of Total Payable Amount |
☐ |
|
total_tax_exclusive_amount |
decimal |
Total Amount excluding Taxes |
☐ |
|
total_tax_exclusive_currency |
string |
Currency of Total Amount excluding Taxes |
☐ |
|
total_tax_inclusive_amount |
decimal |
Total Amount including Taxes |
☐ |
|
total_tax_inclusive_currency |
string |
Currency of Total Amount including Taxes |
☐ |
|
updated_at |
datetime |
Updated At |
☑ |
|
web_url |
string |
Web (URL) |
☐ |
|
10-09-2024 14:03 Version 24.1.8-BETA+4877