GET api/{database}/VatDeclarationLineList/ByCustomerInvoice/{customerId}/{invoiceId}

Gets a list of VatDeclarationLine that matches the specified criteria



Request Information

Parameters

NameDescriptionAdditional information
customerId The customerId.

Define this parameter in the request URI.

invoiceId The invoiceId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "accountId": "sample string 1",
    "messages": [],
    "amountTurnover": 2.0,
    "amountTurnoverCur": 3.0,
    "canChange": true,
    "cannotChangeReason": "sample string 5",
    "currentDeclarationMonth": 1,
    "currentDeclarationYear": 1,
    "customerId": "sample string 6",
    "declarationMonth": 7,
    "declarationYear": 8,
    "fiscalYear": 9,
    "invoiceId": "sample string 10",
    "journalId": "sample string 11",
    "journalTransaction": 12,
    "lineNumber": 13,
    "sequenceNumber": 14,
    "supplierId": "sample string 15",
    "transactionDate": "sample string 16",
    "vatAmount": 17.0,
    "vatAmountCur": 18.0,
    "vatSection": "sample string 19"
  },
  {
    "accountId": "sample string 1",
    "messages": [],
    "amountTurnover": 2.0,
    "amountTurnoverCur": 3.0,
    "canChange": true,
    "cannotChangeReason": "sample string 5",
    "currentDeclarationMonth": 1,
    "currentDeclarationYear": 1,
    "customerId": "sample string 6",
    "declarationMonth": 7,
    "declarationYear": 8,
    "fiscalYear": 9,
    "invoiceId": "sample string 10",
    "journalId": "sample string 11",
    "journalTransaction": 12,
    "lineNumber": 13,
    "sequenceNumber": 14,
    "supplierId": "sample string 15",
    "transactionDate": "sample string 16",
    "vatAmount": 17.0,
    "vatAmountCur": 18.0,
    "vatSection": "sample string 19"
  },
  {
    "accountId": "sample string 1",
    "messages": [],
    "amountTurnover": 2.0,
    "amountTurnoverCur": 3.0,
    "canChange": true,
    "cannotChangeReason": "sample string 5",
    "currentDeclarationMonth": 1,
    "currentDeclarationYear": 1,
    "customerId": "sample string 6",
    "declarationMonth": 7,
    "declarationYear": 8,
    "fiscalYear": 9,
    "invoiceId": "sample string 10",
    "journalId": "sample string 11",
    "journalTransaction": 12,
    "lineNumber": 13,
    "sequenceNumber": 14,
    "supplierId": "sample string 15",
    "transactionDate": "sample string 16",
    "vatAmount": 17.0,
    "vatAmountCur": 18.0,
    "vatSection": "sample string 19"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVatDeclarationLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <VatDeclarationLine>
    <AccountId>sample string 1</AccountId>
    <AmountTurnover>2</AmountTurnover>
    <AmountTurnoverCur>3</AmountTurnoverCur>
    <CanChange>true</CanChange>
    <CannotChangeReason>sample string 5</CannotChangeReason>
    <CurrentDeclarationMonth>1</CurrentDeclarationMonth>
    <CurrentDeclarationYear>1</CurrentDeclarationYear>
    <CustomerId>sample string 6</CustomerId>
    <DeclarationMonth>7</DeclarationMonth>
    <DeclarationYear>8</DeclarationYear>
    <FiscalYear>9</FiscalYear>
    <InvoiceId>sample string 10</InvoiceId>
    <JournalId>sample string 11</JournalId>
    <JournalTransaction>12</JournalTransaction>
    <LineNumber>13</LineNumber>
    <Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
    <SequenceNumber>14</SequenceNumber>
    <SupplierId>sample string 15</SupplierId>
    <TransactionDate>sample string 16</TransactionDate>
    <VatAmount>17</VatAmount>
    <VatAmountCur>18</VatAmountCur>
    <VatSection>sample string 19</VatSection>
  </VatDeclarationLine>
  <VatDeclarationLine>
    <AccountId>sample string 1</AccountId>
    <AmountTurnover>2</AmountTurnover>
    <AmountTurnoverCur>3</AmountTurnoverCur>
    <CanChange>true</CanChange>
    <CannotChangeReason>sample string 5</CannotChangeReason>
    <CurrentDeclarationMonth>1</CurrentDeclarationMonth>
    <CurrentDeclarationYear>1</CurrentDeclarationYear>
    <CustomerId>sample string 6</CustomerId>
    <DeclarationMonth>7</DeclarationMonth>
    <DeclarationYear>8</DeclarationYear>
    <FiscalYear>9</FiscalYear>
    <InvoiceId>sample string 10</InvoiceId>
    <JournalId>sample string 11</JournalId>
    <JournalTransaction>12</JournalTransaction>
    <LineNumber>13</LineNumber>
    <Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
    <SequenceNumber>14</SequenceNumber>
    <SupplierId>sample string 15</SupplierId>
    <TransactionDate>sample string 16</TransactionDate>
    <VatAmount>17</VatAmount>
    <VatAmountCur>18</VatAmountCur>
    <VatSection>sample string 19</VatSection>
  </VatDeclarationLine>
  <VatDeclarationLine>
    <AccountId>sample string 1</AccountId>
    <AmountTurnover>2</AmountTurnover>
    <AmountTurnoverCur>3</AmountTurnoverCur>
    <CanChange>true</CanChange>
    <CannotChangeReason>sample string 5</CannotChangeReason>
    <CurrentDeclarationMonth>1</CurrentDeclarationMonth>
    <CurrentDeclarationYear>1</CurrentDeclarationYear>
    <CustomerId>sample string 6</CustomerId>
    <DeclarationMonth>7</DeclarationMonth>
    <DeclarationYear>8</DeclarationYear>
    <FiscalYear>9</FiscalYear>
    <InvoiceId>sample string 10</InvoiceId>
    <JournalId>sample string 11</JournalId>
    <JournalTransaction>12</JournalTransaction>
    <LineNumber>13</LineNumber>
    <Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
    <SequenceNumber>14</SequenceNumber>
    <SupplierId>sample string 15</SupplierId>
    <TransactionDate>sample string 16</TransactionDate>
    <VatAmount>17</VatAmount>
    <VatAmountCur>18</VatAmountCur>
    <VatSection>sample string 19</VatSection>
  </VatDeclarationLine>
</ArrayOfVatDeclarationLine>