# BTWAangiftes Geeft alle btw aangiftes terug uit een administratie. Op deze operatie is OData functionaliteit beschikbaar. Voor deze operatie zijn de volgende scopes benodigd: - btwaangiftes:read - Catalog: `SnelStart` - Schema: `Btwaangiftes` This is a read-only table function. The SnelStart API may not support changing the data or the Invantive UniversalSQL driver for SnelStart does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the SnelStart API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `BTWAangiftes`. 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 | |---|:---:|:---:|:---:|---| | `$filter` | `` | ☐ | | OData filter, zie http://docs.oasis-open.org/odata/odata/v4.01/cs01/part2-url-conventions/odata-v4.01-cs01-part2-url-conventions.html#sec_SystemQueryOptionfilter | | `$skip` | `` | ☐ | | Het aantal resultaten dat overgeslagen wordt. | | `$top` | `` | ☐ | | Het maximum aantal resultaten. | ## Columns of Table Function The columns of the table function `BTWAangiftes` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `aangiftePeriodeBeginDatum` | `datetime` | Declaration Period Start Date | ☐ | | | `betalenVoor` | `datetime` | Pay before | ☐ | | | `betalingskenmerk` | `varchar2` | Payment Reference | ☐ | | | `boekjaar_endDate` | `datetime` | Financial Year End Date | ☐ | | | `boekjaar_startDate` | `datetime` | Financial Year Start Date | ☐ | | | `btwAangiftePeriode` | `varchar2` | VAT Declaration Period | ☐ | | | `btwAangifteStatus` | `varchar2` | VAT Declaration Status | ☐ | | | `btwNummer` | `varchar2` | VAT Number | ☐ | | | `btwPercentageHoog` | `double` | VAT Percentage High | ☐ | | | `btwPercentageLaag` | `double` | VAT Percentage Low | ☐ | | | `btwPercentageOverig` | `double` | VAT Percentage Other | ☐ | | | `datumTijdBerekening` | `datetime` | Date/time Calculation | ☐ | | | `datumTijdVerzending` | `datetime` | Date/time Shipment | ☐ | Indien verzonden, het tijdstip van verzending | | `foutBericht` | `varchar2` | Error Message | ☐ | | | `id` | `guid` | ID | ☐ | De publieke sleutel (public identifier, als <a href="https://docs.microsoft.com/en-us/dotnet/api/System.Guid?view=netframework-4.6.2" target="_blank">System.Guid</a>) dat uniek een object identificeert. | | `isAangifteGeschat` | `char` | Has Started Declaration | ☐ | | | `isSuppletie` | `char` | Is Suppletion | ☐ | | | `rubriek1A_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek1A_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek1A_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek1A_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek1B_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek1B_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek1B_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek1B_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek1C_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek1C_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek1C_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek1C_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek1D_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek1D_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek1D_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek1D_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek1E_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek1E_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek1E_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek1E_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek2A_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek2A_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek2A_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek2A_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek3A_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek3A_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek3A_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek3A_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek3B_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek3B_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek3B_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek3B_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek3C_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek3C_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek3C_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek3C_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek4A_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek4A_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek4A_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek4A_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek4B_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek4B_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek4B_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek4B_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek5A_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek5A_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek5A_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek5A_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek5B_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek5B_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek5B_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek5B_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek5C_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek5C_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek5C_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek5C_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek5D_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek5D_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek5D_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek5D_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek5E_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek5E_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek5E_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek5E_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek5F_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek5F_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek5F_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek5F_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | | | `rubriek5G_btw` | `int32` | Category {0} VAT | ☐ | | | `rubriek5G_btwSchatting` | `int32` | Category {0} Estimated VAT | ☐ | | | `rubriek5G_omzet` | `int32` | Category {0} Revenue | ☐ | | | `rubriek5G_omzetSchatting` | `int32` | Category {0} Estimated Revenue | ☐ | |