GET api/{database}/CustomerInvoiceInfo/OnlyHeader/{invoiceId}

Gets the specified CustomerInvoiceInfo.



Request Information

Parameters

NameDescriptionAdditional information
invoiceId The invoiceId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "city": "sample string 2",
  "contactPerson": "sample string 3",
  "creditSqueezeRemaining": 4.0,
  "creditSqueezeRemainingCur": 5.0,
  "currencyDescription": "sample string 6",
  "currencyId": "sample string 7",
  "currentExchangeRate": 8.0,
  "customerId": "sample string 9",
  "customerInvoiceLines": null,
  "customerName": "sample string 10",
  "daysOld": 11,
  "dunForPayment": true,
  "exchangeRate": 13.0,
  "fiscalYear": 14,
  "invoiceAmount": 15.0,
  "invoiceAmountCur": 16.0,
  "invoiceBalance": 17.0,
  "invoiceBalanceCur": 18.0,
  "invoiceDate": "sample string 19",
  "invoiceExpirationDate": "sample string 20",
  "invoiceId": "sample string 21",
  "invoiceReference": "sample string 22",
  "isAdvance": true,
  "journalId": "sample string 24",
  "name": "sample string 25",
  "paymentConditionId": "sample string 26",
  "paymentDate": "sample string 1",
  "paymentReference": "sample string 27",
  "payments": null,
  "phoneNumber": "sample string 28",
  "rebateAmount": 29.0,
  "rebateAmountCur": 30.0,
  "rebateExpirationDate": "sample string 31",
  "rebateRemaining": 32.0,
  "rebateRemainingCur": 33.0,
  "reminderCount": 34,
  "settledAmount": 35.0,
  "settledAmountCur": 36.0,
  "shortName": "sample string 37",
  "state": 0,
  "street": "sample string 38",
  "turnoverAmount": 39.0,
  "vatAmount": 40.0,
  "vatAmountCur": 41.0,
  "zipCode": "sample string 42"
}

application/xml, text/xml

Sample:
<CustomerInvoiceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Info">
  <City>sample string 2</City>
  <ContactPerson>sample string 3</ContactPerson>
  <CreditSqueezeRemaining>4</CreditSqueezeRemaining>
  <CreditSqueezeRemainingCur>5</CreditSqueezeRemainingCur>
  <CurrencyDescription>sample string 6</CurrencyDescription>
  <CurrencyId>sample string 7</CurrencyId>
  <CurrentExchangeRate>8</CurrentExchangeRate>
  <CustomerId>sample string 9</CustomerId>
  <CustomerInvoiceLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  <CustomerName>sample string 10</CustomerName>
  <DaysOld>11</DaysOld>
  <DunForPayment>true</DunForPayment>
  <ExchangeRate>13</ExchangeRate>
  <FiscalYear>14</FiscalYear>
  <InvoiceAmount>15</InvoiceAmount>
  <InvoiceAmountCur>16</InvoiceAmountCur>
  <InvoiceBalance>17</InvoiceBalance>
  <InvoiceBalanceCur>18</InvoiceBalanceCur>
  <InvoiceDate>sample string 19</InvoiceDate>
  <InvoiceExpirationDate>sample string 20</InvoiceExpirationDate>
  <InvoiceId>sample string 21</InvoiceId>
  <InvoiceReference>sample string 22</InvoiceReference>
  <IsAdvance>true</IsAdvance>
  <JournalId>sample string 24</JournalId>
  <Name>sample string 25</Name>
  <PaymentConditionId>sample string 26</PaymentConditionId>
  <PaymentDate>sample string 1</PaymentDate>
  <PaymentReference>sample string 27</PaymentReference>
  <Payments xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Lists" i:nil="true" />
  <PhoneNumber>sample string 28</PhoneNumber>
  <RebateAmount>29</RebateAmount>
  <RebateAmountCur>30</RebateAmountCur>
  <RebateExpirationDate>sample string 31</RebateExpirationDate>
  <RebateRemaining>32</RebateRemaining>
  <RebateRemainingCur>33</RebateRemainingCur>
  <ReminderCount>34</ReminderCount>
  <SettledAmount>35</SettledAmount>
  <SettledAmountCur>36</SettledAmountCur>
  <ShortName>sample string 37</ShortName>
  <State>Open</State>
  <Street>sample string 38</Street>
  <TurnoverAmount>39</TurnoverAmount>
  <VatAmount>40</VatAmount>
  <VatAmountCur>41</VatAmountCur>
  <ZipCode>sample string 42</ZipCode>
</CustomerInvoiceInfo>