bow_invoicing.updateinvoice: Bouw7 Package for invoicing operations that could not be mapped to a table. |
Returns the document of a new invoice.
Procedureparameters
De volgende parameters kunnen worden gebruikt om het gedrag te sturen van de procedure bow_invoicing.updateinvoice. Voor verplichte parameters moet altijd een waarde worden opgegeven, maar optionele parameters hoeven in het algemeen geen waarde te hebben en de uitvoering zal standaard een vooraf bepaald gedrag vertonen. Waarden kunnen worden gespecificeerd op basis van positie en naam. In beide gevallen worden alle niet-gespecificeerde parameters geëvalueerd aan de hand van hun standaardwaarden.
Waardespecificatie op positie gebeurt door alle waarden van de eerste tot de laatste benodigde waarde op te sommen. Bijvoorbeeld: een `begin package.procedure(value1, value2, value3); end` voor een procedure met vier parameters gebruikt de standaardwaarde voor de vierde parameter en de opgegeven waarden voor de eerste drie.
Waardespecificatie op naam gebeurt door alle waarden die een waarde vereisen op te sommen. Bijvoorbeeld met `begin package.procedure (name1 => value1, name3 => value3); end` op dezelfde procedure gebruikt de standaardwaarden voor de tweede en vierde parameters en de gespecificeerde waarden voor de eerste en derde.
Naam |
Datatype |
Verplicht |
Standaardwaarde |
Documentatie |
---|---|---|---|---|
id |
int64 |
☐ |
|
The ID of the invoice. Must be omitted to create a new invoice. |
isCollective |
boolean |
☐ |
|
Whether the invoice is a collective invoice. |
invoiceNumber |
string |
☐ |
|
The number of this invoice. |
name |
string |
☐ |
|
The name of the supplier. |
streetName |
string |
☐ |
|
The street name of the supplier. |
houseNumber |
string |
☐ |
|
The house- or building-number of the supplier. |
zipCode |
string |
☐ |
|
The zip-code of the supplier. |
city |
string |
☐ |
|
The city of residence of the supplier. |
country |
string |
☐ |
|
The country of the supplier. |
iban |
string |
☐ |
|
The IBAN-account number of the supplier. |
cocNumber |
string |
☐ |
|
The chamber of commerce number of the supplier. |
vatNumber |
string |
☐ |
|
The VAT-number of the supplier. |
emailAddress |
string |
☐ |
|
The email-address of the supplier. |
websiteAddress |
string |
☐ |
|
The website address of the supplier. |
phoneNumber |
string |
☐ |
|
The phone number of the supplier. |
wageComponentPercentage |
string |
☐ |
|
The wage component percentage for the customer. |
gAccountPercentage |
string |
☐ |
|
The g account percentage for the customer. |
gAccountText |
string |
☐ |
|
The g account text for the customer. |
nAccountText |
string |
☐ |
|
The n account text for the customer. |
logo_id |
int64 |
☐ |
|
The ID of this file |
logo_modelType |
string |
☐ |
|
The category of the file. |
logo_modelId |
int64 |
☐ |
|
The ID of the associated type. |
logo_name |
string |
☐ |
|
The public name of the file. |
logo_size |
int64 |
☐ |
|
The size of the file in bytes. |
logo_extension |
string |
☐ |
|
The extension of the file. |
logo_uri |
string |
☐ |
|
The URI of the file, used to fetch the contents. |
logo_secureHash |
string |
☐ |
|
A secure random hash for the file, that can be used for retrieving thumbnails without additional authentication. |
logo_createdAt |
datetime |
☐ |
|
The creation time of the entity. |
logo_createdBy |
string |
☐ |
|
The user that created the entity. |
logo_updatedAt |
datetime |
☐ |
|
The last updated time of the entity. |
logo_updatedBy |
string |
☐ |
|
The user that last updated the entity. |
expirationReminderDays |
int64 |
☐ |
|
The number of days before a reminder is sent. |
shouldCopyProjectDescription |
boolean |
☐ |
|
Whether the project description should be copied. |
showProjectNumberOnInvoice |
boolean |
☐ |
|
Whether the project number will show on the invoice. |
showProjectNameOnInvoicePdf |
boolean |
☐ |
|
Whether the project name will show on the invoice. |
id_2 |
int64 |
☐ |
|
The ID of the contact. |
name_2 |
string |
☐ |
|
The name of the contact. |
contactPersonName |
string |
☐ |
|
The name of the contact person. |
streetName_2 |
string |
☐ |
|
The street name of the contact. |
houseNumber_2 |
string |
☐ |
|
The house- or building-number of the contact. |
zipCode_2 |
string |
☐ |
|
The zip-code of the contact. |
city_2 |
string |
☐ |
|
The city of residence of the contact. |
country_2 |
string |
☐ |
|
The country of the contact. |
debtorNumber |
string |
☐ |
|
The debtor number of the contact. |
iban_2 |
string |
☐ |
|
The IBAN-account number of the contact. |
cocNumber_2 |
string |
☐ |
|
The chamber of commerce number of the contact. |
vatNumber_2 |
string |
☐ |
|
The VAT-number of the contact. |
emailAddress_2 |
string |
☐ |
|
The email-address of the contact. |
phoneNumber_2 |
string |
☐ |
|
The phone number of the contact. |
isVatShifted |
boolean |
☐ |
|
Whether VAT is shifted for the contact. |
invoiceUblVersion |
string |
☐ |
|
The preferred UBL invoice version for this contact. |
nAccountText_2 |
string |
☐ |
|
N-account text. |
wageComponentPercentage_2 |
string |
☐ |
|
Wage component percentage. |
gAccountText_2 |
string |
☐ |
|
G-account text. |
gAccountPercentage_2 |
string |
☐ |
|
G-account percentage. |
expirationReminderDays_2 |
int64 |
☐ |
|
The number of days before a reminder is sent. |
glnNumber |
string |
☐ |
|
The Global Location Number. |
contactType_id |
int64 |
☐ |
|
The ID of contact type. |
contactType_name |
string |
☐ |
|
The name of contact type. |
invoiceMail |
string |
☐ |
|
The invoice mail. |
contactPersonName1 |
string |
☐ |
|
The name of the contact person for this invoice. |
id_3 |
int64 |
☐ |
|
The ID of contact person. |
firstName |
string |
☐ |
|
The contact person's first name. |
lastName |
string |
☐ |
|
The contact person's last name. |
string |
☐ |
|
The contact person's email address. |
|
phoneNumber_3 |
string |
☐ |
|
The contact person's phone number. |
streetName_3 |
string |
☐ |
|
The contact person's street name. |
houseNumber_3 |
string |
☐ |
|
The contact person's house number. |
zipCode_3 |
string |
☐ |
|
The contact person's zip code. |
city_3 |
string |
☐ |
|
The contact person's city. |
jobTitle |
string |
☐ |
|
The contact person's job title. |
salutation |
string |
☐ |
|
The contact person's salutation. |
createdAt |
datetime |
☐ |
|
The creation time of the entity. |
createdBy |
string |
☐ |
|
The user that created the entity. |
updatedAt |
datetime |
☐ |
|
The last updated time of the entity. |
updatedBy |
string |
☐ |
|
The user that last updated the entity. |
status |
int64 |
☐ |
|
The status of the invoice. |
id_4 |
int64 |
☐ |
|
The ID of the project. |
name_3 |
string |
☐ |
|
The name of the project. |
workAddress |
string |
☐ |
|
The work address of the project. |
fullProjectNumber |
string |
☐ |
|
The full project number including year. |
reference |
string |
☐ |
|
The reference of the project. |
id_5 |
int64 |
☐ |
|
The ID of the branch. |
useOrganizationInfo |
boolean |
☐ |
|
If organization information should be used instead of branch information. |
name_4 |
string |
☐ |
|
The name of the branch. |
code |
string |
☐ |
|
The code of the branch. |
wageComponentPercentage_3 |
string |
☐ |
|
The wage component percentage of the branch. |
gAccountPercentage_3 |
string |
☐ |
|
The g account percentage of the branch. |
gAccountText_3 |
string |
☐ |
|
The g account text of the branch. |
nAccountText_3 |
string |
☐ |
|
The n account text of the branch. |
division_id |
int64 |
☐ |
|
The ID of the division. |
division_description |
string |
☐ |
|
The description of the division. |
division_exactDivisionId |
string |
☐ |
|
The division ID of an Exact Online environment. |
division_glAccountCode |
string |
☐ |
|
A default general ledger account code to use for sales related items. |
division_glAccountCodePurchase |
string |
☐ |
|
A default general ledger account code to use for purchase related items. |
division_journalCode |
string |
☐ |
|
A default journal code to use for sales related items. |
division_journalCodePurchase |
string |
☐ |
|
A default journal code to use for purchase related items. |
division_salesInvoiceNumberPrefix |
string |
☐ |
|
The prefix (3 digits) used to generate invoice number range per division. |
id_6 |
int64 |
☐ |
|
The ID of the division. |
description |
string |
☐ |
|
The description of the division. |
exactDivisionId |
string |
☐ |
|
The division ID of an Exact Online environment. |
glAccountCode |
string |
☐ |
|
A default general ledger account code to use for sales related items. |
glAccountCodePurchase |
string |
☐ |
|
A default general ledger account code to use for purchase related items. |
journalCode |
string |
☐ |
|
A default journal code to use for sales related items. |
journalCodePurchase |
string |
☐ |
|
A default journal code to use for purchase related items. |
salesInvoiceNumberPrefix |
string |
☐ |
|
The prefix (3 digits) used to generate invoice number range per division. |
isCredit |
boolean |
☐ |
|
Whether this invoice is a credit invoice. |
debtorNumber1 |
string |
☐ |
|
The debtor number of the contact associated with this invoice. |
language |
string |
☐ |
|
The locale used by this invoice document, e.g.: nl-NL. |
date |
datetime |
☐ |
|
The invoice date. |
datePaid |
string |
☐ |
|
The paid date. |
dueDate |
datetime |
☐ |
|
The invoice due date. |
id_7 |
int64 |
☐ |
|
The ID of the exact financial period. |
financialPeriod |
int64 |
☐ |
|
The period of the exact financial period. |
financialYear |
int64 |
☐ |
|
The year of the exact financial period. |
startDate |
datetime |
☐ |
|
The start date of the exact financial period in Y-m-d format. |
endDate |
datetime |
☐ |
|
The end date of the exact financial period in Y-m-d format. |
exactPaymentCondition |
string |
☐ |
|
The code of the Exact Online payment condition for this invoice. |
startDate1 |
datetime |
☐ |
|
The start date of attached booking items in Y-m-d format. |
endDate1 |
datetime |
☐ |
|
The end date of attached booking items in Y-m-d format. |
internalNote |
string |
☐ |
|
The internal note for this invoice. |
description1 |
string |
☐ |
|
The public description for this invoice. |
wageComponentPercentage1 |
string |
☐ |
|
Wage component percentage. |
wageComponentAmount |
string |
☐ |
|
Wage component amount. |
gAccountPercentage1 |
string |
☐ |
|
G-account percentage. |
gAccountAmount |
string |
☐ |
|
G-account amount. |
gAccountText1 |
string |
☐ |
|
G-account text. |
nAccountText1 |
string |
☐ |
|
N-account text. |
canUseCostCenter |
boolean |
☐ |
|
Whether the user can use cost center functionality. |
isVatShifted1 |
boolean |
☐ |
|
Whether VAT is shifted for the invoice. |
vatShiftedValue |
string |
☐ |
|
VAT is shifted value. Usually a VAT-number of the contact. |
displayWorkAddress |
boolean |
☐ |
|
Whether the work address is displayed on the invoice. |
workAddress1 |
string |
☐ |
|
The work address of the invoice. |
invoicedProjectStatusName |
string |
☐ |
|
The status name of the projects if the status is going to be changed when an invoice is saved. |
attachMaterialList |
boolean |
☐ |
|
Whether to attach the material list attachment. |
attachEquipmentList |
boolean |
☐ |
|
Whether to attach the material list attachment. |
attachGarbageList |
boolean |
☐ |
|
Whether to attach the waste list attachment. |
attachRegister |
boolean |
☐ |
|
Whether to attach the register attachment. |
canBookToExact |
boolean |
☐ |
|
Whether it is allowed to book to Exact. |
canBookToTwinfield |
boolean |
☐ |
|
Whether it is allowed to book to Twinfield. |
canBookToAfas |
boolean |
☐ |
|
Whether it is allowed to book to AFAS. |
canBookToMareon |
boolean |
☐ |
|
Whether it is allowed to book to Mareon. |
isBooked |
boolean |
☐ |
|
Whether the invoice is already booked. |
isMareonBooked |
boolean |
☐ |
|
Whether the invoice is already booked in mareon. |
includeCoverSheet |
boolean |
☐ |
|
Whether to include a cover sheet to the invoice PDF. |
createdAt1 |
datetime |
☐ |
|
The creation time of the entity. |
createdBy1 |
string |
☐ |
|
The user that created the entity. |
updatedAt1 |
datetime |
☐ |
|
The last updated time of the entity. |
updatedBy1 |
string |
☐ |
|
The user that last updated the entity. |
30-06-2025 16:22 Versie 24.1.116-BETA+5455