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 1",
  "contactPerson": "sample string 2",
  "creditSqueezeRemaining": 3.0,
  "creditSqueezeRemainingCur": 4.0,
  "currencyDescription": "sample string 5",
  "currencyId": "sample string 6",
  "currentExchangeRate": 7.0,
  "customerId": "sample string 8",
  "customerInvoiceLines": null,
  "customerName": "sample string 9",
  "daysOld": 10,
  "dunForPayment": true,
  "exchangeRate": 12.0,
  "fiscalYear": 13,
  "invoiceAmount": 14.0,
  "invoiceAmountCur": 15.0,
  "invoiceBalance": 16.0,
  "invoiceBalanceCur": 17.0,
  "invoiceDate": "sample string 18",
  "invoiceExpirationDate": "sample string 19",
  "invoiceId": "sample string 20",
  "invoiceReference": "sample string 21",
  "isAdvance": true,
  "journalId": "sample string 23",
  "name": "sample string 24",
  "paymentConditionId": "sample string 25",
  "paymentDate": "sample string 26",
  "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 1</City>
  <ContactPerson>sample string 2</ContactPerson>
  <CreditSqueezeRemaining>3</CreditSqueezeRemaining>
  <CreditSqueezeRemainingCur>4</CreditSqueezeRemainingCur>
  <CurrencyDescription>sample string 5</CurrencyDescription>
  <CurrencyId>sample string 6</CurrencyId>
  <CurrentExchangeRate>7</CurrentExchangeRate>
  <CustomerId>sample string 8</CustomerId>
  <CustomerInvoiceLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  <CustomerName>sample string 9</CustomerName>
  <DaysOld>10</DaysOld>
  <DunForPayment>true</DunForPayment>
  <ExchangeRate>12</ExchangeRate>
  <FiscalYear>13</FiscalYear>
  <InvoiceAmount>14</InvoiceAmount>
  <InvoiceAmountCur>15</InvoiceAmountCur>
  <InvoiceBalance>16</InvoiceBalance>
  <InvoiceBalanceCur>17</InvoiceBalanceCur>
  <InvoiceDate>sample string 18</InvoiceDate>
  <InvoiceExpirationDate>sample string 19</InvoiceExpirationDate>
  <InvoiceId>sample string 20</InvoiceId>
  <InvoiceReference>sample string 21</InvoiceReference>
  <IsAdvance>true</IsAdvance>
  <JournalId>sample string 23</JournalId>
  <Name>sample string 24</Name>
  <PaymentConditionId>sample string 25</PaymentConditionId>
  <PaymentDate>sample string 26</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>