The code of the cash account used in the transaction.
date
Yes
Date
Date format must be ISO 8601 (Example: “2020-01-10”) and can not be in the future.
amount
Yes
Decimal
The amount of the the transaction in account currency.
cash_book_id
Yes
Number
Refers to cash book used for the transaction.
transaction_nature
Yes
Text
Refers to the transaction nature of the transaction, possible values ( LKP_ENUM_CASH_IN, LKP_ENUM_CASH_OUT)
counter_party
Yes
Text
Refers to other party of the transaction.
related_party
No
Object
Object with the info of counter party provided either customer or supplier. The structure explained here.
account_exchange_rate
No
Decimal Number
The exchange rate of the account currency when the transaction is created. Mandatory if the account has foreign currency.
counter_party_exchange_rate
No
Decimal Number
The exchange rate of the pay party currency when the transaction is created. Mandatory if the pay party has foreign currency differs the account currency.
reference
No
Text
Transaction reference.
description
No
Text
Transaction description.
Customer Parameter details
Parameter
Required
Type
Description
code
Yes
Text
The code of the related party used in the transaction.
name
Yes
Text
The name of the related party used in the transaction.
type
Yes
Text
The Type of the related party used in the transaction. Possible values are: individual or organization.
tax_registration_number
No
Number
Related party’s Tax Registration Number.
account_code
No
Text
The code of the cash account of the related party.
price_list_code (for counter parties of type customer)
No
Number
The code of the price list of the related party. It must have the same currency as the customer and account.
address
No
Object
The address of the related party. The structure is explained elsewhere.
contact
No
Object
The contact of the related party. The structure is explained elsewhere.
Address Parameter details
Parameter
Type
Required
Description
label
Text
Yes
The label of the address.
country_code
Text
Yes
The country code of the address (Example: “EG”).
city
Text
Yes
The name of the city in the specified country.
address
Text
No
Additional info of the address.
Contact Parameter details
Parameter
Type
Required
Description
type
Text
Yes
The type of the contact provided. Possible values are: mobile, phone, email, fax, website, or other.