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,
  "autoSetExpirationDates": true,
  "bordereauxNumber": "sample string 13",
  "canChange": true,
  "canChangeSupplierId": true,
  "cannotChangeReason": "sample string 16",
  "contactPerson": "sample string 17",
  "contactPersonId": "sample string 18",
  "currencyId": "sample string 19",
  "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": 20,
  "exchangeRate": 21.0,
  "fiscalYear": 22,
  "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 23",
  "invoiceExpirationDate": "sample string 24",
  "invoiceId": "sample string 25",
  "invoiceType": 0,
  "isApproved": true,
  "journalId": "sample string 27",
  "journalSection": "sample string 28",
  "journalTransaction": 29,
  "kvcPaymentCondition": true,
  "numberOfReminders": 31,
  "openingBalance": true,
  "paymentConditionId": "sample string 33",
  "paymentReference": "sample string 34",
  "periodNumber": 35,
  "processedBy": "sample string 36",
  "processedById": "sample string 37",
  "rebateExpirationDate": "sample string 38",
  "rebatePercentage": 39.0,
  "reference": "sample string 40",
  "supplierId": "sample string 41",
  "supplierInvoiceLines": null,
  "supplierIsSubcontractor": true,
  "systemInvoice": true,
  "totalAmountVatExcl": 44.0,
  "totalAmountVatExclCur": 45.0,
  "vatAdjusted": true,
  "vatAmount": 47.0,
  "vatAmountCur": 48.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>
  <AutoSetExpirationDates>true</AutoSetExpirationDates>
  <BordereauxNumber>sample string 13</BordereauxNumber>
  <CanChange>true</CanChange>
  <CanChangeSupplierId>true</CanChangeSupplierId>
  <CannotChangeReason>sample string 16</CannotChangeReason>
  <ContactPerson>sample string 17</ContactPerson>
  <ContactPersonId>sample string 18</ContactPersonId>
  <CurrencyId>sample string 19</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>20</DocumentNumber>
  <ExchangeRate>21</ExchangeRate>
  <FiscalYear>22</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 23</InvoiceDate>
  <InvoiceExpirationDate>sample string 24</InvoiceExpirationDate>
  <InvoiceId>sample string 25</InvoiceId>
  <InvoiceType>SalesInvoice</InvoiceType>
  <IsApproved>true</IsApproved>
  <JournalId>sample string 27</JournalId>
  <JournalSection>sample string 28</JournalSection>
  <JournalTransaction>29</JournalTransaction>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NumberOfReminders>31</NumberOfReminders>
  <OpeningBalance>true</OpeningBalance>
  <PaymentConditionId>sample string 33</PaymentConditionId>
  <PaymentReference>sample string 34</PaymentReference>
  <PeriodNumber>35</PeriodNumber>
  <ProcessedBy>sample string 36</ProcessedBy>
  <ProcessedById>sample string 37</ProcessedById>
  <RebateExpirationDate>sample string 38</RebateExpirationDate>
  <RebatePercentage>39</RebatePercentage>
  <Reference>sample string 40</Reference>
  <SupplierId>sample string 41</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>44</TotalAmountVatExcl>
  <TotalAmountVatExclCur>45</TotalAmountVatExclCur>
  <VatAdjusted>true</VatAdjusted>
  <VatAmount>47</VatAmount>
  <VatAmountCur>48</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:

Sample not available.

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,
  "autoSetExpirationDates": true,
  "bordereauxNumber": "sample string 13",
  "canChange": true,
  "canChangeSupplierId": true,
  "cannotChangeReason": "sample string 16",
  "contactPerson": "sample string 17",
  "contactPersonId": "sample string 18",
  "currencyId": "sample string 19",
  "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": 20,
  "exchangeRate": 21.0,
  "fiscalYear": 22,
  "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 23",
  "invoiceExpirationDate": "sample string 24",
  "invoiceId": "sample string 25",
  "invoiceType": 0,
  "isApproved": true,
  "journalId": "sample string 27",
  "journalSection": "sample string 28",
  "journalTransaction": 29,
  "kvcPaymentCondition": true,
  "numberOfReminders": 31,
  "openingBalance": true,
  "paymentConditionId": "sample string 33",
  "paymentReference": "sample string 34",
  "periodNumber": 35,
  "processedBy": "sample string 36",
  "processedById": "sample string 37",
  "rebateExpirationDate": "sample string 38",
  "rebatePercentage": 39.0,
  "reference": "sample string 40",
  "supplierId": "sample string 41",
  "supplierInvoiceLines": null,
  "supplierIsSubcontractor": true,
  "systemInvoice": true,
  "totalAmountVatExcl": 44.0,
  "totalAmountVatExclCur": 45.0,
  "vatAdjusted": true,
  "vatAmount": 47.0,
  "vatAmountCur": 48.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>
  <AutoSetExpirationDates>true</AutoSetExpirationDates>
  <BordereauxNumber>sample string 13</BordereauxNumber>
  <CanChange>true</CanChange>
  <CanChangeSupplierId>true</CanChangeSupplierId>
  <CannotChangeReason>sample string 16</CannotChangeReason>
  <ContactPerson>sample string 17</ContactPerson>
  <ContactPersonId>sample string 18</ContactPersonId>
  <CurrencyId>sample string 19</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>20</DocumentNumber>
  <ExchangeRate>21</ExchangeRate>
  <FiscalYear>22</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 23</InvoiceDate>
  <InvoiceExpirationDate>sample string 24</InvoiceExpirationDate>
  <InvoiceId>sample string 25</InvoiceId>
  <InvoiceType>SalesInvoice</InvoiceType>
  <IsApproved>true</IsApproved>
  <JournalId>sample string 27</JournalId>
  <JournalSection>sample string 28</JournalSection>
  <JournalTransaction>29</JournalTransaction>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NumberOfReminders>31</NumberOfReminders>
  <OpeningBalance>true</OpeningBalance>
  <PaymentConditionId>sample string 33</PaymentConditionId>
  <PaymentReference>sample string 34</PaymentReference>
  <PeriodNumber>35</PeriodNumber>
  <ProcessedBy>sample string 36</ProcessedBy>
  <ProcessedById>sample string 37</ProcessedById>
  <RebateExpirationDate>sample string 38</RebateExpirationDate>
  <RebatePercentage>39</RebatePercentage>
  <Reference>sample string 40</Reference>
  <SupplierId>sample string 41</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>44</TotalAmountVatExcl>
  <TotalAmountVatExclCur>45</TotalAmountVatExclCur>
  <VatAdjusted>true</VatAdjusted>
  <VatAmount>47</VatAmount>
  <VatAmountCur>48</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>