POST api/{database}/CustomerInvoice

Creates a new CustomerInvoice with the specified values



Request Information

Parameters

NameDescriptionAdditional information
value The CustomerInvoice with the updated values.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "accountManager": "sample string 1",
  "accountManagerId": "sample string 2",
  "messages": [],
  "amountCreditSqueeze": 3.0,
  "amountCreditSqueezeCur": 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",
  "customerId": "sample string 16",
  "customerInvoiceLines": null,
  "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": 17,
  "dunForPayment": true,
  "exchangeRate": 19.0,
  "fiscalYear": 20,
  "inDirectDebitBatch": true,
  "invoiceDate": "sample string 22",
  "invoiceExpirationDate": "sample string 23",
  "invoiceId": "sample string 24",
  "invoiceType": 0,
  "journalId": "sample string 25",
  "journalSection": "sample string 26",
  "journalTransaction": 27,
  "kvcPaymentCondition": true,
  "mandateId": "sample string 29",
  "numberOfReminders": 30,
  "openingBalance": true,
  "orderId": "sample string 32",
  "paymentConditionId": "sample string 33",
  "paymentId": "sample string 34",
  "paymentReference": "sample string 35",
  "periodNumber": 36,
  "processedBy": "sample string 37",
  "processedById": "sample string 38",
  "rebateExpirationDate": "sample string 39",
  "rebatePercentage": 40.0,
  "reference": "sample string 41",
  "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:
<CustomerInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <AccountManager>sample string 1</AccountManager>
  <AccountManagerId>sample string 2</AccountManagerId>
  <AmountCreditSqueeze>3</AmountCreditSqueeze>
  <AmountCreditSqueezeCur>4</AmountCreditSqueezeCur>
  <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>
  <CustomerId>sample string 16</CustomerId>
  <CustomerInvoiceLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  <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>17</DocumentNumber>
  <DunForPayment>true</DunForPayment>
  <ExchangeRate>19</ExchangeRate>
  <FiscalYear>20</FiscalYear>
  <InDirectDebitBatch>true</InDirectDebitBatch>
  <InvoiceDate>sample string 22</InvoiceDate>
  <InvoiceExpirationDate>sample string 23</InvoiceExpirationDate>
  <InvoiceId>sample string 24</InvoiceId>
  <InvoiceType>SalesInvoice</InvoiceType>
  <JournalId>sample string 25</JournalId>
  <JournalSection>sample string 26</JournalSection>
  <JournalTransaction>27</JournalTransaction>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <MandateId>sample string 29</MandateId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NumberOfReminders>30</NumberOfReminders>
  <OpeningBalance>true</OpeningBalance>
  <OrderId>sample string 32</OrderId>
  <PaymentConditionId>sample string 33</PaymentConditionId>
  <PaymentId>sample string 34</PaymentId>
  <PaymentReference>sample string 35</PaymentReference>
  <PeriodNumber>36</PeriodNumber>
  <ProcessedBy>sample string 37</ProcessedBy>
  <ProcessedById>sample string 38</ProcessedById>
  <RebateExpirationDate>sample string 39</RebateExpirationDate>
  <RebatePercentage>40</RebatePercentage>
  <Reference>sample string 41</Reference>
  <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" />
</CustomerInvoice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "accountManager": "sample string 1",
  "accountManagerId": "sample string 2",
  "messages": [],
  "amountCreditSqueeze": 3.0,
  "amountCreditSqueezeCur": 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",
  "customerId": "sample string 16",
  "customerInvoiceLines": null,
  "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": 17,
  "dunForPayment": true,
  "exchangeRate": 19.0,
  "fiscalYear": 20,
  "inDirectDebitBatch": true,
  "invoiceDate": "sample string 22",
  "invoiceExpirationDate": "sample string 23",
  "invoiceId": "sample string 24",
  "invoiceType": 0,
  "journalId": "sample string 25",
  "journalSection": "sample string 26",
  "journalTransaction": 27,
  "kvcPaymentCondition": true,
  "mandateId": "sample string 29",
  "numberOfReminders": 30,
  "openingBalance": true,
  "orderId": "sample string 32",
  "paymentConditionId": "sample string 33",
  "paymentId": "sample string 34",
  "paymentReference": "sample string 35",
  "periodNumber": 36,
  "processedBy": "sample string 37",
  "processedById": "sample string 38",
  "rebateExpirationDate": "sample string 39",
  "rebatePercentage": 40.0,
  "reference": "sample string 41",
  "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:
<CustomerInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <AccountManager>sample string 1</AccountManager>
  <AccountManagerId>sample string 2</AccountManagerId>
  <AmountCreditSqueeze>3</AmountCreditSqueeze>
  <AmountCreditSqueezeCur>4</AmountCreditSqueezeCur>
  <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>
  <CustomerId>sample string 16</CustomerId>
  <CustomerInvoiceLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
  <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>17</DocumentNumber>
  <DunForPayment>true</DunForPayment>
  <ExchangeRate>19</ExchangeRate>
  <FiscalYear>20</FiscalYear>
  <InDirectDebitBatch>true</InDirectDebitBatch>
  <InvoiceDate>sample string 22</InvoiceDate>
  <InvoiceExpirationDate>sample string 23</InvoiceExpirationDate>
  <InvoiceId>sample string 24</InvoiceId>
  <InvoiceType>SalesInvoice</InvoiceType>
  <JournalId>sample string 25</JournalId>
  <JournalSection>sample string 26</JournalSection>
  <JournalTransaction>27</JournalTransaction>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <MandateId>sample string 29</MandateId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NumberOfReminders>30</NumberOfReminders>
  <OpeningBalance>true</OpeningBalance>
  <OrderId>sample string 32</OrderId>
  <PaymentConditionId>sample string 33</PaymentConditionId>
  <PaymentId>sample string 34</PaymentId>
  <PaymentReference>sample string 35</PaymentReference>
  <PeriodNumber>36</PeriodNumber>
  <ProcessedBy>sample string 37</ProcessedBy>
  <ProcessedById>sample string 38</ProcessedById>
  <RebateExpirationDate>sample string 39</RebateExpirationDate>
  <RebatePercentage>40</RebatePercentage>
  <Reference>sample string 41</Reference>
  <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" />
</CustomerInvoice>