GET api/{database}/SupplierInvoice/{invoiceId}
Gets the specified SupplierInvoice.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
invoiceId | The invoiceId. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "messages": [], "amountCreditSqueeze": 1.0, "amountCreditSqueezeCur": 2.0, "amountFrozen": 3.0, "amountFrozenCur": 4.0, "amountRebate": 5.0, "amountRebateCur": 6.0, "amountTotal": 7.0, "amountTotalCur": 8.0, "autoCalculateVat": true, "bordereauxNumber": "sample string 10", "canChange": true, "cannotChangeReason": "sample string 12", "contactPerson": "sample string 13", "contactPersonId": "sample string 14", "currencyId": "sample string 15", "documentLink": { "messages": [], "canChange": true, "cannotChangeReason": "sample string 2", "dateCreated": "sample string 3", "description": "sample string 4", "documentLink": "sample string 5", "documentType": "sample string 6", "linkCategoryName": "sample string 7", "linkId": "sample string 8", "linkType": "sample string 9", "reference": "sample string 10", "subject": "sample string 11" }, "documentNumber": 16, "exchangeRate": 17.0, "fiscalYear": 18, "invoiceDate": "sample string 19", "invoiceExpirationDate": "sample string 20", "invoiceId": "sample string 21", "invoiceType": 0, "journalId": "sample string 22", "journalSection": "sample string 23", "journalTransaction": 24, "kvcPaymentCondition": true, "numberOfReminders": 26, "openingBalance": true, "paymentConditionId": "sample string 28", "paymentReference": "sample string 29", "periodNumber": 30, "processedBy": "sample string 31", "processedById": "sample string 32", "rebateExpirationDate": "sample string 33", "rebatePercentage": 34.0, "reference": "sample string 35", "supplierId": "sample string 36", "supplierInvoiceLines": null, "supplierIsSubcontractor": true, "systemInvoice": true, "totalAmountVatExcl": 39.0, "totalAmountVatExclCur": 40.0, "vatAdjusted": true, "vatAmount": 42.0, "vatAmountCur": 43.0, "vatOnInvoice": true, "vatScenarioId": 1, "vatTransactionLines": null }
application/xml, text/xml
Sample:
<SupplierInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit"> <AmountCreditSqueeze>1</AmountCreditSqueeze> <AmountCreditSqueezeCur>2</AmountCreditSqueezeCur> <AmountFrozen>3</AmountFrozen> <AmountFrozenCur>4</AmountFrozenCur> <AmountRebate>5</AmountRebate> <AmountRebateCur>6</AmountRebateCur> <AmountTotal>7</AmountTotal> <AmountTotalCur>8</AmountTotalCur> <AutoCalculateVat>true</AutoCalculateVat> <BordereauxNumber>sample string 10</BordereauxNumber> <CanChange>true</CanChange> <CannotChangeReason>sample string 12</CannotChangeReason> <ContactPerson>sample string 13</ContactPerson> <ContactPersonId>sample string 14</ContactPersonId> <CurrencyId>sample string 15</CurrencyId> <DocumentLink xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.DocMan.Edit"> <d2p1:CanChange>true</d2p1:CanChange> <d2p1:CannotChangeReason>sample string 2</d2p1:CannotChangeReason> <d2p1:DateCreated>sample string 3</d2p1:DateCreated> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:DocumentLink>sample string 5</d2p1:DocumentLink> <d2p1:DocumentType>sample string 6</d2p1:DocumentType> <d2p1:LinkCategoryName>sample string 7</d2p1:LinkCategoryName> <d2p1:LinkId>sample string 8</d2p1:LinkId> <d2p1:LinkType>sample string 9</d2p1:LinkType> <d2p1:Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <d2p1:Reference>sample string 10</d2p1:Reference> <d2p1:Subject>sample string 11</d2p1:Subject> </DocumentLink> <DocumentNumber>16</DocumentNumber> <ExchangeRate>17</ExchangeRate> <FiscalYear>18</FiscalYear> <InvoiceDate>sample string 19</InvoiceDate> <InvoiceExpirationDate>sample string 20</InvoiceExpirationDate> <InvoiceId>sample string 21</InvoiceId> <InvoiceType>SalesInvoice</InvoiceType> <JournalId>sample string 22</JournalId> <JournalSection>sample string 23</JournalSection> <JournalTransaction>24</JournalTransaction> <KVCPaymentCondition>true</KVCPaymentCondition> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <NumberOfReminders>26</NumberOfReminders> <OpeningBalance>true</OpeningBalance> <PaymentConditionId>sample string 28</PaymentConditionId> <PaymentReference>sample string 29</PaymentReference> <PeriodNumber>30</PeriodNumber> <ProcessedBy>sample string 31</ProcessedBy> <ProcessedById>sample string 32</ProcessedById> <RebateExpirationDate>sample string 33</RebateExpirationDate> <RebatePercentage>34</RebatePercentage> <Reference>sample string 35</Reference> <SupplierId>sample string 36</SupplierId> <SupplierInvoiceLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" /> <SupplierIsSubcontractor>true</SupplierIsSubcontractor> <SystemInvoice>true</SystemInvoice> <TotalAmountVatExcl>39</TotalAmountVatExcl> <TotalAmountVatExclCur>40</TotalAmountVatExclCur> <VatAdjusted>true</VatAdjusted> <VatAmount>42</VatAmount> <VatAmountCur>43</VatAmountCur> <VatOnInvoice>true</VatOnInvoice> <VatScenarioId>1</VatScenarioId> <VatTransactionLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" /> </SupplierInvoice>