PUT api/{database}/SupplierInvoice/{invoiceId}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
invoiceId No Documentation Found.

Define this parameter in the request URI.

value No Documentation Found.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "activateInvoiceApproval": true,
  "messages": [],
  "amountCreditSqueeze": 2.0,
  "amountCreditSqueezeCur": 3.0,
  "amountFrozen": 4.0,
  "amountFrozenCur": 5.0,
  "amountRebate": 6.0,
  "amountRebateCur": 7.0,
  "amountTotal": 8.0,
  "amountTotalCur": 9.0,
  "approvedById": "sample string 10",
  "autoCalculateVat": true,
  "bordereauxNumber": "sample string 12",
  "canChange": true,
  "canChangeSupplierId": true,
  "cannotChangeReason": "sample string 15",
  "contactPerson": "sample string 16",
  "contactPersonId": "sample string 17",
  "currencyId": "sample string 18",
  "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": 19,
  "exchangeRate": 20.0,
  "fiscalYear": 21,
  "intrastatEntry": {
    "messages": [],
    "canChange": true,
    "cannotChangeReason": "sample string 2",
    "country": "sample string 3",
    "declarationMonth": 4,
    "declarationYear": 5,
    "deliveryConditionId": "sample string 6",
    "goodsFlowId": 1,
    "intrastatEntryLines": null,
    "regionId": 1,
    "statisticalSystemId": 1,
    "transactionTypeId": "sample string 7",
    "transportId": 1
  },
  "invoiceDate": "sample string 22",
  "invoiceExpirationDate": "sample string 23",
  "invoiceId": "sample string 24",
  "invoiceType": 0,
  "isApproved": true,
  "journalId": "sample string 26",
  "journalSection": "sample string 27",
  "journalTransaction": 28,
  "kvcPaymentCondition": true,
  "numberOfReminders": 30,
  "openingBalance": true,
  "paymentConditionId": "sample string 32",
  "paymentReference": "sample string 33",
  "periodNumber": 34,
  "processedBy": "sample string 35",
  "processedById": "sample string 36",
  "rebateExpirationDate": "sample string 37",
  "rebatePercentage": 38.0,
  "reference": "sample string 39",
  "supplierId": "sample string 40",
  "supplierInvoiceLines": null,
  "supplierIsSubcontractor": true,
  "systemInvoice": true,
  "totalAmountVatExcl": 43.0,
  "totalAmountVatExclCur": 44.0,
  "vatAdjusted": true,
  "vatAmount": 46.0,
  "vatAmountCur": 47.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">
  <ActivateInvoiceApproval>true</ActivateInvoiceApproval>
  <AmountCreditSqueeze>2</AmountCreditSqueeze>
  <AmountCreditSqueezeCur>3</AmountCreditSqueezeCur>
  <AmountFrozen>4</AmountFrozen>
  <AmountFrozenCur>5</AmountFrozenCur>
  <AmountRebate>6</AmountRebate>
  <AmountRebateCur>7</AmountRebateCur>
  <AmountTotal>8</AmountTotal>
  <AmountTotalCur>9</AmountTotalCur>
  <ApprovedById>sample string 10</ApprovedById>
  <AutoCalculateVat>true</AutoCalculateVat>
  <BordereauxNumber>sample string 12</BordereauxNumber>
  <CanChange>true</CanChange>
  <CanChangeSupplierId>true</CanChangeSupplierId>
  <CannotChangeReason>sample string 15</CannotChangeReason>
  <ContactPerson>sample string 16</ContactPerson>
  <ContactPersonId>sample string 17</ContactPersonId>
  <CurrencyId>sample string 18</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>19</DocumentNumber>
  <ExchangeRate>20</ExchangeRate>
  <FiscalYear>21</FiscalYear>
  <IntrastatEntry>
    <CanChange>true</CanChange>
    <CannotChangeReason>sample string 2</CannotChangeReason>
    <Country>sample string 3</Country>
    <DeclarationMonth>4</DeclarationMonth>
    <DeclarationYear>5</DeclarationYear>
    <DeliveryConditionId>sample string 6</DeliveryConditionId>
    <GoodsFlowId>1</GoodsFlowId>
    <IntrastatEntryLines xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
    <Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
    <RegionId>1</RegionId>
    <StatisticalSystemId>1</StatisticalSystemId>
    <TransactionTypeId>sample string 7</TransactionTypeId>
    <TransportId>1</TransportId>
  </IntrastatEntry>
  <InvoiceDate>sample string 22</InvoiceDate>
  <InvoiceExpirationDate>sample string 23</InvoiceExpirationDate>
  <InvoiceId>sample string 24</InvoiceId>
  <InvoiceType>SalesInvoice</InvoiceType>
  <IsApproved>true</IsApproved>
  <JournalId>sample string 26</JournalId>
  <JournalSection>sample string 27</JournalSection>
  <JournalTransaction>28</JournalTransaction>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NumberOfReminders>30</NumberOfReminders>
  <OpeningBalance>true</OpeningBalance>
  <PaymentConditionId>sample string 32</PaymentConditionId>
  <PaymentReference>sample string 33</PaymentReference>
  <PeriodNumber>34</PeriodNumber>
  <ProcessedBy>sample string 35</ProcessedBy>
  <ProcessedById>sample string 36</ProcessedById>
  <RebateExpirationDate>sample string 37</RebateExpirationDate>
  <RebatePercentage>38</RebatePercentage>
  <Reference>sample string 39</Reference>
  <SupplierId>sample string 40</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>43</TotalAmountVatExcl>
  <TotalAmountVatExclCur>44</TotalAmountVatExclCur>
  <VatAdjusted>true</VatAdjusted>
  <VatAmount>46</VatAmount>
  <VatAmountCur>47</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>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SupplierInvoiceProxy'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "activateInvoiceApproval": true,
  "messages": [],
  "amountCreditSqueeze": 2.0,
  "amountCreditSqueezeCur": 3.0,
  "amountFrozen": 4.0,
  "amountFrozenCur": 5.0,
  "amountRebate": 6.0,
  "amountRebateCur": 7.0,
  "amountTotal": 8.0,
  "amountTotalCur": 9.0,
  "approvedById": "sample string 10",
  "autoCalculateVat": true,
  "bordereauxNumber": "sample string 12",
  "canChange": true,
  "canChangeSupplierId": true,
  "cannotChangeReason": "sample string 15",
  "contactPerson": "sample string 16",
  "contactPersonId": "sample string 17",
  "currencyId": "sample string 18",
  "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": 19,
  "exchangeRate": 20.0,
  "fiscalYear": 21,
  "intrastatEntry": {
    "messages": [],
    "canChange": true,
    "cannotChangeReason": "sample string 2",
    "country": "sample string 3",
    "declarationMonth": 4,
    "declarationYear": 5,
    "deliveryConditionId": "sample string 6",
    "goodsFlowId": 1,
    "intrastatEntryLines": null,
    "regionId": 1,
    "statisticalSystemId": 1,
    "transactionTypeId": "sample string 7",
    "transportId": 1
  },
  "invoiceDate": "sample string 22",
  "invoiceExpirationDate": "sample string 23",
  "invoiceId": "sample string 24",
  "invoiceType": 0,
  "isApproved": true,
  "journalId": "sample string 26",
  "journalSection": "sample string 27",
  "journalTransaction": 28,
  "kvcPaymentCondition": true,
  "numberOfReminders": 30,
  "openingBalance": true,
  "paymentConditionId": "sample string 32",
  "paymentReference": "sample string 33",
  "periodNumber": 34,
  "processedBy": "sample string 35",
  "processedById": "sample string 36",
  "rebateExpirationDate": "sample string 37",
  "rebatePercentage": 38.0,
  "reference": "sample string 39",
  "supplierId": "sample string 40",
  "supplierInvoiceLines": null,
  "supplierIsSubcontractor": true,
  "systemInvoice": true,
  "totalAmountVatExcl": 43.0,
  "totalAmountVatExclCur": 44.0,
  "vatAdjusted": true,
  "vatAmount": 46.0,
  "vatAmountCur": 47.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">
  <ActivateInvoiceApproval>true</ActivateInvoiceApproval>
  <AmountCreditSqueeze>2</AmountCreditSqueeze>
  <AmountCreditSqueezeCur>3</AmountCreditSqueezeCur>
  <AmountFrozen>4</AmountFrozen>
  <AmountFrozenCur>5</AmountFrozenCur>
  <AmountRebate>6</AmountRebate>
  <AmountRebateCur>7</AmountRebateCur>
  <AmountTotal>8</AmountTotal>
  <AmountTotalCur>9</AmountTotalCur>
  <ApprovedById>sample string 10</ApprovedById>
  <AutoCalculateVat>true</AutoCalculateVat>
  <BordereauxNumber>sample string 12</BordereauxNumber>
  <CanChange>true</CanChange>
  <CanChangeSupplierId>true</CanChangeSupplierId>
  <CannotChangeReason>sample string 15</CannotChangeReason>
  <ContactPerson>sample string 16</ContactPerson>
  <ContactPersonId>sample string 17</ContactPersonId>
  <CurrencyId>sample string 18</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>19</DocumentNumber>
  <ExchangeRate>20</ExchangeRate>
  <FiscalYear>21</FiscalYear>
  <IntrastatEntry>
    <CanChange>true</CanChange>
    <CannotChangeReason>sample string 2</CannotChangeReason>
    <Country>sample string 3</Country>
    <DeclarationMonth>4</DeclarationMonth>
    <DeclarationYear>5</DeclarationYear>
    <DeliveryConditionId>sample string 6</DeliveryConditionId>
    <GoodsFlowId>1</GoodsFlowId>
    <IntrastatEntryLines xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
    <Messages xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
    <RegionId>1</RegionId>
    <StatisticalSystemId>1</StatisticalSystemId>
    <TransactionTypeId>sample string 7</TransactionTypeId>
    <TransportId>1</TransportId>
  </IntrastatEntry>
  <InvoiceDate>sample string 22</InvoiceDate>
  <InvoiceExpirationDate>sample string 23</InvoiceExpirationDate>
  <InvoiceId>sample string 24</InvoiceId>
  <InvoiceType>SalesInvoice</InvoiceType>
  <IsApproved>true</IsApproved>
  <JournalId>sample string 26</JournalId>
  <JournalSection>sample string 27</JournalSection>
  <JournalTransaction>28</JournalTransaction>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NumberOfReminders>30</NumberOfReminders>
  <OpeningBalance>true</OpeningBalance>
  <PaymentConditionId>sample string 32</PaymentConditionId>
  <PaymentReference>sample string 33</PaymentReference>
  <PeriodNumber>34</PeriodNumber>
  <ProcessedBy>sample string 35</ProcessedBy>
  <ProcessedById>sample string 36</ProcessedById>
  <RebateExpirationDate>sample string 37</RebateExpirationDate>
  <RebatePercentage>38</RebatePercentage>
  <Reference>sample string 39</Reference>
  <SupplierId>sample string 40</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>43</TotalAmountVatExcl>
  <TotalAmountVatExclCur>44</TotalAmountVatExclCur>
  <VatAdjusted>true</VatAdjusted>
  <VatAmount>46</VatAmount>
  <VatAmountCur>47</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>