# RelatieVerkoopboekingBTWsByRelatieId Geeft alle beschikbare verkoopboekingen (VerkoopBoekingModel) voor de actieve relatie terug uit een administratie. Voor deze operatie zijn de volgende scopes benodigd: - relaties:read - boekhouden:read - Catalog: `SnelStart` - Schema: `Relaties` 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 `RelatieVerkoopboekingBTWsByRelatieId`. 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 | |---|:---:|:---:|:---:|---| | `id` | `` | ☑ | | | ## Columns of Table Function The columns of the table function `RelatieVerkoopboekingBTWsByRelatieId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `betalingstermijn` | `int32` | Payment Term | ☐ | De betalingstermijn (in dagen) van de verkoopboeking. | | `boekstuk` | `varchar2(25)` | Journal Entry | ☐ | Het boekstuknummer van de verkoopboeking. | | `btwBedrag` | `decimal` | VAT Amount | ☐ | Het btw-bedrag dat voor de gegeven btwsoort wordt geboekt. | | `btwSoort` | `varchar2` | VAT Type | ☐ | De btw-soort waarop het btw-bedrag wordt geboekt. | | `doorlopendeIncassoMachtiging_id` | `guid` | Continuous Direct Debit 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. | | `eenmaligeIncassoMachtiging_datum` | `datetime` | One-off Direct Debit Date | ☐ | De datum van de incassomachtiging Deze is verplicht bij een eenmalige machtiging. | | `eenmaligeIncassoMachtiging_kenmerk` | `varchar2(50)` | One-off Direct Debit Reference | ☐ | Het kenmerk van de incassomachtiging. | | `eenmaligeIncassoMachtiging_omschrijving` | `varchar2(250)` | One-off Direct Debit Description | ☐ | De omschrijving van de incassomachtiging. Deze is verplicht bij een eenmalige machtiging. | | `factuurbedrag` | `decimal` | Invoice Amount | ☐ | Het factuurbedrag van de verkoopboeking. | | `factuurdatum` | `datetime` | Invoice Date | ☐ | De datum van de factuur, dit is ook de datum waarop de verkoopboeking wordt geboekt. | | `factuurnummer` | `varchar2(25)` | Invoice Number | ☐ | De factuurnummer van de verkoopboeking. | | `gewijzigdDoorAccountant` | `char` | Changed by Accountant | ☐ | Geeft aan of deze verkoopboeking is aangepast door de accountant. | | `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. | | `klant_id` | `guid` | Customer 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. | | `markering` | `char` | Mark | ☐ | Deze verkoopboeking verdient speciale aandacht, in SnelStart wordt dit visueel benadrukt. | | `modifiedOn` | `datetime` | Modified on | ☐ | Het tijdstip waarop de verkoopboeking voor het laatst is gewijzigd. | | `omschrijving` | `varchar2(250)` | Description | ☐ | De omschrijving van de verkoopboeking. |