POST api/{database}/CustomerInvoice

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
value No Documentation Found.

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,
  "canChangeCustomerId": true,
  "cannotChangeReason": "sample string 13",
  "contactPerson": "sample string 14",
  "contactPersonId": "sample string 15",
  "currencyId": "sample string 16",
  "customerId": "sample string 17",
  "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": 18,
  "dunForPayment": true,
  "exchangeRate": 20.0,
  "fiscalYear": 21,
  "inDirectDebitBatch": true,
  "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,
  "journalId": "sample string 26",
  "journalSection": "sample string 27",
  "journalTransaction": 28,
  "kvcPaymentCondition": true,
  "mandateId": "sample string 30",
  "numberOfReminders": 31,
  "openingBalance": true,
  "orderId": "sample string 33",
  "paymentConditionId": "sample string 34",
  "paymentId": "sample string 35",
  "paymentReference": "sample string 36",
  "periodNumber": 37,
  "processedBy": "sample string 38",
  "processedById": "sample string 39",
  "rebateExpirationDate": "sample string 40",
  "rebatePercentage": 41.0,
  "reference": "sample string 42",
  "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:
<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>
  <CanChangeCustomerId>true</CanChangeCustomerId>
  <CannotChangeReason>sample string 13</CannotChangeReason>
  <ContactPerson>sample string 14</ContactPerson>
  <ContactPersonId>sample string 15</ContactPersonId>
  <CurrencyId>sample string 16</CurrencyId>
  <CustomerId>sample string 17</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>18</DocumentNumber>
  <DunForPayment>true</DunForPayment>
  <ExchangeRate>20</ExchangeRate>
  <FiscalYear>21</FiscalYear>
  <InDirectDebitBatch>true</InDirectDebitBatch>
  <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>
  <JournalId>sample string 26</JournalId>
  <JournalSection>sample string 27</JournalSection>
  <JournalTransaction>28</JournalTransaction>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <MandateId>sample string 30</MandateId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NumberOfReminders>31</NumberOfReminders>
  <OpeningBalance>true</OpeningBalance>
  <OrderId>sample string 33</OrderId>
  <PaymentConditionId>sample string 34</PaymentConditionId>
  <PaymentId>sample string 35</PaymentId>
  <PaymentReference>sample string 36</PaymentReference>
  <PeriodNumber>37</PeriodNumber>
  <ProcessedBy>sample string 38</ProcessedBy>
  <ProcessedById>sample string 39</ProcessedById>
  <RebateExpirationDate>sample string 40</RebateExpirationDate>
  <RebatePercentage>41</RebatePercentage>
  <Reference>sample string 42</Reference>
  <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" />
</CustomerInvoice>

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 'CustomerInvoiceProxy'.

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,
  "canChangeCustomerId": true,
  "cannotChangeReason": "sample string 13",
  "contactPerson": "sample string 14",
  "contactPersonId": "sample string 15",
  "currencyId": "sample string 16",
  "customerId": "sample string 17",
  "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": 18,
  "dunForPayment": true,
  "exchangeRate": 20.0,
  "fiscalYear": 21,
  "inDirectDebitBatch": true,
  "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,
  "journalId": "sample string 26",
  "journalSection": "sample string 27",
  "journalTransaction": 28,
  "kvcPaymentCondition": true,
  "mandateId": "sample string 30",
  "numberOfReminders": 31,
  "openingBalance": true,
  "orderId": "sample string 33",
  "paymentConditionId": "sample string 34",
  "paymentId": "sample string 35",
  "paymentReference": "sample string 36",
  "periodNumber": 37,
  "processedBy": "sample string 38",
  "processedById": "sample string 39",
  "rebateExpirationDate": "sample string 40",
  "rebatePercentage": 41.0,
  "reference": "sample string 42",
  "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:
<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>
  <CanChangeCustomerId>true</CanChangeCustomerId>
  <CannotChangeReason>sample string 13</CannotChangeReason>
  <ContactPerson>sample string 14</ContactPerson>
  <ContactPersonId>sample string 15</ContactPersonId>
  <CurrencyId>sample string 16</CurrencyId>
  <CustomerId>sample string 17</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>18</DocumentNumber>
  <DunForPayment>true</DunForPayment>
  <ExchangeRate>20</ExchangeRate>
  <FiscalYear>21</FiscalYear>
  <InDirectDebitBatch>true</InDirectDebitBatch>
  <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>
  <JournalId>sample string 26</JournalId>
  <JournalSection>sample string 27</JournalSection>
  <JournalTransaction>28</JournalTransaction>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <MandateId>sample string 30</MandateId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <NumberOfReminders>31</NumberOfReminders>
  <OpeningBalance>true</OpeningBalance>
  <OrderId>sample string 33</OrderId>
  <PaymentConditionId>sample string 34</PaymentConditionId>
  <PaymentId>sample string 35</PaymentId>
  <PaymentReference>sample string 36</PaymentReference>
  <PeriodNumber>37</PeriodNumber>
  <ProcessedBy>sample string 38</ProcessedBy>
  <ProcessedById>sample string 39</ProcessedById>
  <RebateExpirationDate>sample string 40</RebateExpirationDate>
  <RebatePercentage>41</RebatePercentage>
  <Reference>sample string 42</Reference>
  <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" />
</CustomerInvoice>