PUT api/customers/einvoicesetting
Update customer einvoice setting.
Request Information
URI Parameters
None.
Body Parameters
CustomerEInvoiceSettingPutRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerNumber | integer |
None. |
|
| EInvoiceTypeId | integer |
None. |
|
| DeliveryType | string |
Max length: 1 |
|
| BuyersReferenceId | string |
Max length: 30 |
|
| EmailAddress | string |
Max length: 256 |
|
| ReceiverId | string |
Max length: 256 |
|
| ReceiverIntermediatorId | string |
Max length: 256 |
|
| EInvoiceService | string |
Max length: 256 |
|
| EInvoiceAction | string |
Max length: 256 |
|
| TaxScheme | string |
Max length: 10 |
Remarks
None.
Example
None.
Request Formats
application/json, text/json
Sample:
{
"Id": "a60fab63-86e7-4136-8302-4273c692acf0",
"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
Sample:
<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>a60fab63-86e7-4136-8302-4273c692acf0</Id> </CustomerEInvoiceSettingPutRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerEInvoiceSettingPutResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors | Collection of PutCustomerEInvoiceSettingError |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errors": [
{
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
{
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
}
],
"Success": true
}
application/xml, text/xml
Sample:
<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>