GET api/{database}/SalesVatScenarioInfoList/ByCustomerId/{fiscalYear}/{customerId}

Gets a list of VatScenarioInfo that matches the specified criteria



Request Information

Parameters

NameDescriptionAdditional information
fiscalYear The fiscalYear.

Define this parameter in the request URI.

customerId The customerId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "isActive": true,
    "isIntrastatScenario": true,
    "isPreferredScenario": true,
    "transactionType": 0,
    "vatLocationType": "sample string 4",
    "vatOnInvoice": true,
    "vatScenarioDescription": "sample string 6",
    "vatScenarioId": 7,
    "vatScenarioRulesInfoList": null
  },
  {
    "isActive": true,
    "isIntrastatScenario": true,
    "isPreferredScenario": true,
    "transactionType": 0,
    "vatLocationType": "sample string 4",
    "vatOnInvoice": true,
    "vatScenarioDescription": "sample string 6",
    "vatScenarioId": 7,
    "vatScenarioRulesInfoList": null
  },
  {
    "isActive": true,
    "isIntrastatScenario": true,
    "isPreferredScenario": true,
    "transactionType": 0,
    "vatLocationType": "sample string 4",
    "vatOnInvoice": true,
    "vatScenarioDescription": "sample string 6",
    "vatScenarioId": 7,
    "vatScenarioRulesInfoList": null
  }
]

application/xml, text/xml

Sample:
<ArrayOfVatScenarioInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Info">
  <VatScenarioInfo>
    <IsActive>true</IsActive>
    <IsIntrastatScenario>true</IsIntrastatScenario>
    <IsPreferredScenario>true</IsPreferredScenario>
    <TransactionType>Purchase</TransactionType>
    <VatLocationType>sample string 4</VatLocationType>
    <VatOnInvoice>true</VatOnInvoice>
    <VatScenarioDescription>sample string 6</VatScenarioDescription>
    <VatScenarioId>7</VatScenarioId>
    <VatScenarioRulesInfoList xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  </VatScenarioInfo>
  <VatScenarioInfo>
    <IsActive>true</IsActive>
    <IsIntrastatScenario>true</IsIntrastatScenario>
    <IsPreferredScenario>true</IsPreferredScenario>
    <TransactionType>Purchase</TransactionType>
    <VatLocationType>sample string 4</VatLocationType>
    <VatOnInvoice>true</VatOnInvoice>
    <VatScenarioDescription>sample string 6</VatScenarioDescription>
    <VatScenarioId>7</VatScenarioId>
    <VatScenarioRulesInfoList xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  </VatScenarioInfo>
  <VatScenarioInfo>
    <IsActive>true</IsActive>
    <IsIntrastatScenario>true</IsIntrastatScenario>
    <IsPreferredScenario>true</IsPreferredScenario>
    <TransactionType>Purchase</TransactionType>
    <VatLocationType>sample string 4</VatLocationType>
    <VatOnInvoice>true</VatOnInvoice>
    <VatScenarioDescription>sample string 6</VatScenarioDescription>
    <VatScenarioId>7</VatScenarioId>
    <VatScenarioRulesInfoList xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  </VatScenarioInfo>
</ArrayOfVatScenarioInfo>