OrderVatTotalsByOrderDocumentId: Minox BTW-totalen per besteldocument-ID |
Get an order document
Catalogus: Minox
Schema: Ordering
Label: BTW-totalen per besteldocument-ID
De gegevens in deze tabel zijn gepartitioneerd per waarde van de kolom administration_code.
Dit is een alleen-lezen tabelfunctie. De Minox API biedt mogelijk geen ondersteuning voor het wijzigen van de data of het Invantive SQL-stuurprogramma voor Minox ondersteunt dit niet. In het laatste geval gebruikt u de tabel NativePlatformScalarRequests om gegevens te uploaden naar de Minox-API.
Parameters van de tabelfunctie
De volgende parameters kunnen worden gebruikt om het gedrag van de tabelfunctie OrderVatTotalsByOrderDocumentId in te stellen. 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 `select * uit tabel(waarde1, waarde2, waarde3)` op een tabel met vier parameters zal de standaardwaarde voor de vierde parameter gebruiken en de opgegeven waarden voor de eerste drie.
Waardespecificatie op naam gebeurt door alle waarden die een waarde vereisen op te sommen. Bijvoorbeeld met `selecteer * uit tabel(naam1 => waarde1, naam3 => waarde3)` op dezelfde tabel zullen de standaardwaarden voor de tweede en vierde parameter worden gebruikt en de opgegeven waarden voor de eerste en derde.
Naam |
Datatype |
Verplicht |
Standaardwaarde |
Documentatie |
---|---|---|---|---|
administration_code |
string |
☐ |
|
Partition to retrieve data from. |
order_document_id |
string |
☑ |
|
The order document. |
Kolommen van Tabelfunctie
De kolommen van de tabelfunctie OrderVatTotalsByOrderDocumentId worden hieronder weergegeven. Elke kolom heeft een SQL-gegevenstype.
Naam |
Datatype |
Label |
Verplicht |
Documentatie |
---|---|---|---|---|
administration_code |
string(30) |
Administratiecode |
☑ |
Partition code, segmenting the data. |
administration_name |
string(240) |
Administratie Naam |
☑ |
Name of the partition. |
carrier_description |
string |
Drager Omschrijving |
☐ |
|
carrier_id |
int64 |
Drager ID |
☐ |
|
credit_restriction_percent |
decimal |
Kredietbeperking Percentage |
☐ |
The credit restriction percentage added over the total |
currency_description |
string |
Valuta Omschrijving |
☐ |
|
currency_id |
string |
Valuta ID |
☐ |
|
customer_city |
string |
Klant Stad |
☐ |
|
customer_contact_name |
string |
Klant Naam Contactpersoon |
☐ |
|
customer_country_code |
string |
Klant Landcode |
☐ |
An ISO-3166-1-alpha2 country code. See: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements |
customer_id |
decimal |
Klant ID |
☐ |
|
customer_name |
string |
Naam Klant |
☐ |
|
customer_postal_code |
string |
Klant Postcode |
☐ |
|
customer_salutation |
string |
Klant Aanhef |
☐ |
|
customer_streetname_and_number |
string |
Klant Straatnaam en -nummer |
☐ |
|
customer_type_description |
string |
Klant Soortomschrijving |
☐ |
|
customer_type_id |
int64 |
Klant Soort ID |
☐ |
|
delivery_address_city |
string |
Afleveradresstad |
☐ |
|
delivery_address_contact_name |
string |
Afleveradres Contactpersoon Naam |
☐ |
|
delivery_address_country_code |
string |
Afleveradres Landcode |
☐ |
An ISO-3166-1-alpha2 country code. See: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements |
delivery_address_extended_name |
string |
Afleveradres Uitgebreide Naam |
☐ |
|
delivery_address_name |
string |
Naam Bezorgadres |
☐ |
|
delivery_address_postal_code |
string |
Afleveradres Postcode |
☐ |
|
delivery_address_streetname_and_number |
string |
Afleveradres Straatnaam en -nummer |
☐ |
|
delivery_date |
string |
Leveringsdatum |
☐ |
The ISO date of the delivery (is set automatically when thedocument transitioned from the type billoflading) |
delivery_term_description |
string |
Leveringsvoorwaarde Omschrijving |
☐ |
|
delivery_term_id |
int64 |
Leveringsvoorwaarde ID |
☐ |
|
discount_percentage |
decimal |
Kortingspercentage |
☐ |
The discount percentage calculated over the entire order document |
discount |
decimal |
Korting |
☐ |
The discount for the VAT percentage |
document_number |
decimal |
Documentnummer |
☐ |
The number given when an order document of type orderresponse,packinglist or billoflading is transitioned |
frequence |
string |
Frequentie |
☐ |
|
id |
string |
ID |
☐ |
|
inclusive_amount |
decimal |
Inclusief Bedrag |
☐ |
The amount with the vat amount (filled if vat_inclusive istrue) |
invoice_date |
string |
Factuurdatum |
☐ |
The ISO date for when the document transitioned to the typeinvoice |
invoice_number |
decimal |
Factuurnummer |
☐ |
The number given when an order document is transitioned tothe invoice type |
is_g_account |
boolean |
Is G-rekening |
☐ |
|
is_merge |
boolean |
Is Samenvoegen |
☐ |
If the order document has been created by merging multipleorder documents |
mandate_code |
string |
Machtigingscode |
☐ |
|
mandate_date |
string |
Machtigingsdatum |
☐ |
The ISO date calculated based on the invoice date and the mandate_date |
mandate_serial_number |
decimal |
Machtiging Serienummer |
☐ |
|
memo |
string |
Memo |
☐ |
|
next_invoice_date |
string |
Volgende Factuurdatum |
☐ |
The ISO date for when the document last transitioned from typesubscription to the type invoice |
orderresponse_date |
string |
Bestelreactie Datum |
☐ |
The ISO date for when the document transitioned from the typeorderresponse |
packinglist_date |
string |
Paklijst Datum |
☐ |
The ISO date for when the document transitioned from the typepackinglist |
payment_discount_percent |
decimal |
Betalingskorting Percentage |
☐ |
The payment discount percentage subtracted over the total |
payment_term_days |
decimal |
Betalingstermijn Dagen |
☐ |
|
payment_term_description |
string |
Betalingstermijn Omschrijving |
☐ |
|
payment_term_id |
int64 |
Betalingstermijn-ID |
☐ |
|
payment_term_mandate |
string |
Machtiging Betalingstermijn |
☐ |
|
payment_term_start |
string |
Betalingstermijn Start |
☐ |
|
payment_term_terms_days |
decimal |
Betalingsvoorwaarden in Dagen |
☐ |
|
payment_term_terms_percentage |
decimal |
Percentage Betalingsvoorwaarden |
☐ |
|
payment_term_terms_type |
string |
Soort Betalingsvoorwaarden |
☐ |
|
percentage |
decimal |
Percentage |
☐ |
The VAT percentage |
period_number |
decimal |
Periodenummer |
☐ |
The period in which the invoice belongs |
previous_type |
string |
Vorige Soort |
☐ |
|
quotation_date |
string |
Offertedatum |
☐ |
The ISO date for when the document transitioned from the typequotation |
quotation_number |
decimal |
Offertenummer |
☐ |
The number given when an order document of type quotation istransitioned |
reference |
string |
Referentie |
☐ |
|
region_description |
string |
Regiobeschrijving |
☐ |
|
region_id |
int64 |
Regio ID |
☐ |
|
representative_id |
int64 |
Vertegenwoordiger ID |
☐ |
|
representative_name |
string |
Vertegenwoordiger Naam |
☐ |
|
state_date |
string |
Statusdatum |
☐ |
The ISO date for when the last transition happened |
subscription_date |
string |
Abonnementsdatum |
☐ |
The ISO date for when the document transitioned from the typesubscription |
subscription_end_date |
string |
Abonnement Einddatum |
☐ |
The ISO date for when the subscription ends |
subscription_number |
decimal |
Abonnementsnummer |
☐ |
The number given when an order document of type subscriptionis transitioned |
tax_amount |
decimal |
Belastingbedrag |
☐ |
The VAT amount |
taxable_amount |
decimal |
Belastbaar Bedrag |
☐ |
The amount without VAT |
totals_amount |
decimal |
Totalen Bedrag |
☐ |
The total amount (before discounts and VAT) |
totals_credit_restriction |
decimal |
Totalen Kredietbeperking |
☐ |
The credit restriction |
totals_delivery_quantity |
decimal |
Totalen Leveringshoeveelheid |
☐ |
The total amount of items delivered |
totals_discount |
decimal |
Totalen Korting |
☐ |
The total discount |
totals_payment_discount |
decimal |
Totalen Betalingskorting |
☐ |
The payment discount |
totals_quantity |
decimal |
Totalen Aantal |
☐ |
The total amount of items |
totals_total |
decimal |
Totalen |
☐ |
The total amount with discounts and VAT |
type |
string |
Soort |
☐ |
|
vat_id |
int64 |
BTW ID |
☐ |
The internal VAT identifier |
vat_inclusive |
boolean |
Inclusief BTW |
☐ |
Whether the VAT amounts are included in the amounts |
vat_reverse_charged |
boolean |
Btw-verlegging |
☐ |
Whether the VAT amounts are reverse charged |
22-12-2022 21:29 Versie 22.1.101-BETA+3681