PUT api/customers/accountsreceivable

Update customer accounts receivable.

Request Information

URI Parameters

None.

Body Parameters

CustomerAccountsReceivablePutRequest
NameDescriptionTypeAdditional information
CustomerNumber

Customer number

integer

None.

BankAccount

Bank account

string

Max length: 50

BankName

Name of the bank

string

Max length: 50

BankClearingNo

Clearing number

string

Max length: 10

IBAN

International Bank Account Number

string

Max length: 34

BIC

Business Identifier Code

string

Max length: 12

FreezeFlag

True if customer is credit blocked

boolean

None.

PaysReminderFee

True if customer pays reminder fee

boolean

None.

Reminders

True if customer should get reminders

boolean

None.

CreditLimit

Credit limit

decimal number

None.

Turnover

Customers turnover

decimal number

None.

TurnoverLastYear

Customers turnover last year

decimal number

None.

CurrentClaim

Claim on customer

decimal number

None.

CreditChangeDate

Date when credit limit changed

date

None.

CustomerStatementTypeId

Id for customer statement type

integer

None.

Remarks

Creates new customer accounts receivable if it doesn't exist

Example

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerNumber": 1,
  "BankAccount": "sample string 2",
  "BankName": "sample string 3",
  "BankClearingNo": "sample string 4",
  "IBAN": "sample string 5",
  "BIC": "sample string 6",
  "FreezeFlag": true,
  "PaysReminderFee": true,
  "Reminders": true,
  "CreditLimit": 10.0,
  "Turnover": 11.0,
  "TurnoverLastYear": 12.0,
  "CurrentClaim": 13.0,
  "CreditChangeDate": "12/21/2025 1:03:18 PM",
  "CustomerStatementTypeId": 14
}

application/xml, text/xml

Sample:
<CustomerAccountsReceivablePutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business">
  <BIC>sample string 6</BIC>
  <BankAccount>sample string 2</BankAccount>
  <BankClearingNo>sample string 4</BankClearingNo>
  <BankName>sample string 3</BankName>
  <CreditChangeDate>2025-12-21T13:03:18.189752+00:00</CreditChangeDate>
  <CreditLimit>10</CreditLimit>
  <CurrentClaim>13</CurrentClaim>
  <CustomerStatementTypeId>14</CustomerStatementTypeId>
  <FreezeFlag>true</FreezeFlag>
  <IBAN>sample string 5</IBAN>
  <PaysReminderFee>true</PaysReminderFee>
  <Reminders>true</Reminders>
  <Turnover>11</Turnover>
  <TurnoverLastYear>12</TurnoverLastYear>
  <CustomerNumber>1</CustomerNumber>
</CustomerAccountsReceivablePutRequest>

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

Response Information

Resource Description

CustomerAccountsReceivablePutResponse
NameDescriptionTypeAdditional information
Errors

List of errors when updating customer accounts receivable

Collection of PutCustomerAccountsReceivableError

None.

Success

Returns true if customer accounts receivable is updated

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:
<CustomerAccountsReceivablePutResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business">
  <Errors>
    <PutCustomerAccountsReceivableError>
      <ErrorCode>InternalServerError</ErrorCode>
      <ErrorMessage>sample string 1</ErrorMessage>
    </PutCustomerAccountsReceivableError>
    <PutCustomerAccountsReceivableError>
      <ErrorCode>InternalServerError</ErrorCode>
      <ErrorMessage>sample string 1</ErrorMessage>
    </PutCustomerAccountsReceivableError>
  </Errors>
  <Success>true</Success>
</CustomerAccountsReceivablePutResponse>