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

Gets the specified SupplierInvoiceInfo.



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,
  "daysOld": 8,
  "exchangeRate": 9.0,
  "fiscalYear": 10,
  "invoiceAmount": 11.0,
  "invoiceAmountCur": 12.0,
  "invoiceBalance": 13.0,
  "invoiceBalanceCur": 14.0,
  "invoiceDate": "sample string 15",
  "invoiceExpirationDate": "sample string 16",
  "invoiceId": "sample string 17",
  "invoiceReference": "sample string 18",
  "isAdvance": true,
  "isApprovedForPayment": true,
  "isGAccountInvoice": true,
  "journalId": "sample string 22",
  "matchInvoice": true,
  "matchStatus": 0,
  "name": "sample string 24",
  "payableState": 0,
  "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,
  "settledAmount": 34.0,
  "settledAmountCur": 35.0,
  "shortName": "sample string 36",
  "state": 0,
  "street": "sample string 37",
  "supplierId": "sample string 38",
  "supplierName": "sample string 39",
  "turnoverAmount": 40.0,
  "vatAmount": 41.0,
  "vatAmountCur": 42.0,
  "zipCode": "sample string 43"
}

application/xml, text/xml

Sample:
<SupplierInvoiceInfo 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>
  <DaysOld>8</DaysOld>
  <ExchangeRate>9</ExchangeRate>
  <FiscalYear>10</FiscalYear>
  <InvoiceAmount>11</InvoiceAmount>
  <InvoiceAmountCur>12</InvoiceAmountCur>
  <InvoiceBalance>13</InvoiceBalance>
  <InvoiceBalanceCur>14</InvoiceBalanceCur>
  <InvoiceDate>sample string 15</InvoiceDate>
  <InvoiceExpirationDate>sample string 16</InvoiceExpirationDate>
  <InvoiceId>sample string 17</InvoiceId>
  <InvoiceReference>sample string 18</InvoiceReference>
  <IsAdvance>true</IsAdvance>
  <IsApprovedForPayment>true</IsApprovedForPayment>
  <IsGAccountInvoice>true</IsGAccountInvoice>
  <JournalId>sample string 22</JournalId>
  <MatchInvoice>true</MatchInvoice>
  <MatchStatus>NotApplicable</MatchStatus>
  <Name>sample string 24</Name>
  <PayableState>None</PayableState>
  <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.Purchase.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>
  <SettledAmount>34</SettledAmount>
  <SettledAmountCur>35</SettledAmountCur>
  <ShortName>sample string 36</ShortName>
  <State>Open</State>
  <Street>sample string 37</Street>
  <SupplierId>sample string 38</SupplierId>
  <SupplierName>sample string 39</SupplierName>
  <TurnoverAmount>40</TurnoverAmount>
  <VatAmount>41</VatAmount>
  <VatAmountCur>42</VatAmountCur>
  <ZipCode>sample string 43</ZipCode>
</SupplierInvoiceInfo>