PUT api/customers/einvoicesetting
Update customer einvoice setting.
Request Information
URI Parameters
None.
Body Parameters
CustomerEInvoiceSettingPutRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id of customer einvoice setting |
globally unique identifier |
None. |
| CustomerNumber |
Customer number |
integer |
None. |
| EInvoiceTypeId |
Id for einvoice type |
integer |
None. |
| DeliveryType |
Delivery type |
string |
Max length: 1 |
| BuyersReferenceId |
Buyers reference id |
string |
Max length: 30 |
| EmailAddress |
|
string |
Max length: 256 |
| ReceiverId |
Receiver id |
string |
Max length: 256 |
| ReceiverIntermediatorId |
Receiver intermediator id |
string |
Max length: 256 |
| EInvoiceService |
Einvoice service |
string |
Max length: 256 |
| EInvoiceAction |
EInvoice action |
string |
Max length: 256 |
| TaxScheme |
Tax scheme |
string |
Max length: 10 |
Remarks
None.
Example
None.
Request Formats
application/json, text/json
{
"Id": "ff15f043-cea3-4633-aba6-458e4a19bd38",
"CustomerNumber": 2,
"EInvoiceTypeId": 3,
"DeliveryType": "sample string 4",
"BuyersReferenceId": "sample string 5",
"EmailAddress": "sample string 6",
"ReceiverId": "sample string 7",
"ReceiverIntermediatorId": "sample string 8",
"EInvoiceService": "sample string 9",
"EInvoiceAction": "sample string 10",
"TaxScheme": "sample string 11"
}
application/xml, text/xml
<CustomerEInvoiceSettingPutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business"> <BuyersReferenceId>sample string 5</BuyersReferenceId> <CustomerNumber>2</CustomerNumber> <DeliveryType>sample string 4</DeliveryType> <EInvoiceAction>sample string 10</EInvoiceAction> <EInvoiceService>sample string 9</EInvoiceService> <EInvoiceTypeId>3</EInvoiceTypeId> <EmailAddress>sample string 6</EmailAddress> <ReceiverId>sample string 7</ReceiverId> <ReceiverIntermediatorId>sample string 8</ReceiverIntermediatorId> <TaxScheme>sample string 11</TaxScheme> <Id>ff15f043-cea3-4633-aba6-458e4a19bd38</Id> </CustomerEInvoiceSettingPutRequest>
application/x-www-form-urlencoded
Response Information
Resource Description
CustomerEInvoiceSettingPutResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors |
List of errors when updating customer einvoice setting |
Collection of PutCustomerEInvoiceSettingError |
None. |
| Success |
Returns true if customer einvoice setting is updated |
boolean |
None. |
Response Formats
application/json, text/json
{
"Errors": [
{
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
{
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
}
],
"Success": true
}
application/xml, text/xml
<CustomerEInvoiceSettingPutResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business">
<Errors>
<PutCustomerEInvoiceSettingError>
<ErrorCode>InternalServerError</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</PutCustomerEInvoiceSettingError>
<PutCustomerEInvoiceSettingError>
<ErrorCode>InternalServerError</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</PutCustomerEInvoiceSettingError>
</Errors>
<Success>true</Success>
</CustomerEInvoiceSettingPutResponse>