Partial Update Cash Out by Id
PATCH
/api/v2/cash_outs/404d46a3-0d9c-4eb0-a444-7a4ebb44eb49
Use this method to update Contacts. See our HTTP PATCH documentation for complete queries method.
The following are elements for update Contacts :
Body Request
Element | Description |
---|---|
reason | The reason why changes were made. String 170 characters . |
status | Contact code. String maximum 255 characters . |
Body Response
Element | Description |
---|---|
id | Contact id. String. Automatically |
status | Status transaction, the status must be one of the following types: draft , deleted , submitted , approved , voided , finished . |
date | Transaction date. Date format YYYY-MM-DD . |
time | Transaction time. Time format hh:mm:ss . |
number | Reference number of sales invoices. String maximum 35 characters . |
description | Description of sales invoices. String maximum 75 characters . |
contact* | Element for contact |
contact.id | Contact name String maximum 255 characters . |
contact.code | Contact name String maximum 255 characters . |
contact.name | Contact name String maximum 255 characters . |
contact.classification | Element for contact.classification |
contact.classification.id | Contact name String maximum 255 characters . |
contact.classification.name | Contact name String maximum 255 characters . |
departement* | Element for department. |
department.id | Department id. String 36 characters . |
department.code | Department code String maximum 255 characters . |
department.name | Department name String maximum 255 characters . |
project* | Element for project. |
project.id | Project id. String 36 characters . |
project.code | Project code String maximum 255 characters . |
project.name | Project name String maximum 255 characters . |
document* | Element for document. |
document.date | Document date. Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . |
document.number | Document number String. |
other_fields* | Element of other fields. |
other_fields.id | other_fields id String. |
other_fields.key | other_fields key String. |
other_fields.type | other_fields data type Ex: string or integer or number |
other_fields.value | value of other_fields String. |
attachments* | Element of attachments. |
attachments.id | Attachments id String. |
attachments.name | Attachments name String maximum 255 characters . |
attachments.extension | Attachments extension Ex: JPG, Doc, PDF String. |
attachments.url | Attachments url String. |
line_items.id | line_items id String |
line_items.department | Element for departement. |
line_items.department.id | Departement id String |
line_items.department.code | Departement code String maximum 255 characters . |
line_items.department.name | Departement name String maximum 255 characters . |
line_items.project | Element for project. |
line_items.project.id | Project id String |
line_items.project.code | Project code String maximum 255 characters . |
line_items.project.name | Project name String maximum 255 characters . |
line_items.note | note description String. |
line_items.account | Element for line_items account. |
line_items.account.id | Account id String |
line_items.account.code | Account code String maximum 255 characters . |
line_items.account.name | Account name String maximum 255 characters . |
line_items.account.alias_name | Account alias name String maximum 255 characters . |
line_items.currency | Element for line_items currency. |
line_items.currency.id | Currency id String |
line_items.currency.code | Currency code String |
line_items.currency.name | Currency name String |
line_items.currency.symbol | Currency symbol String |
line_items.exchange_rate | Exchange rate Number |
line_items.amount_origin | amount origin Number |
line_items.amount | amount Number |
cash.account.id | Account id String. |
cash.account.code | Account code String maximum 255 characters . |
cash.account.name | Account name String maximum 255 characters . |
cash.account.alias_name | A ccount alias name String. |
cash.currency* | Element for cash currency. |
cash.currency.id | Currency id String. |
cash.currency.code | Currency code String maximum 255 characters . |
cash.currency.name | Currency name String maximum 255 characters . |
cash.currency.symbol | Currency symbol String. |
cash.exchange_rate | Exchange rate Number. |
cash.amount_origin | Amount origin Number. |
cash.amount | Amount Number. |
post_dated_cheques* | Element for post_dated_cheques. |
post_dated_cheques.id | post_dated_cheques id String. |
post_dated_cheques.number | post_dated_cheques number String maximum 255 characters . |
post_dated_cheques.description | post_dated_cheques description String maximum 255 characters . |
post_dated_cheques.due_date | post_dated_cheques due_date Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . |
post_dated_cheques.bank.name | post_dated_cheques bank name String. |
post_dated_cheques.bank.account_number | post_dated_cheques bank account number String. |
post_dated_cheques.account.id | Account id String. |
post_dated_cheques.account.code | Account code String maximum 255 characters . |
post_dated_cheques.account.name | Account name String maximum 255 characters . |
post_dated_cheques.currency.id | Currency id String. |
post_dated_cheques.currency.code | Currency code String maximum 255 characters . |
post_dated_cheques.currency.name | Currency name String maximum 255 characters . |
post_dated_cheques.currency.symbol | Currency symbol String. |
post_dated_cheques.exchange_rate | Exchange rate Number. |
post_dated_cheques.amount_origin | Amount origin Number. |
post_dated_cheques.amount | Amount Number. |
created* | Element for created. |
created.user* | Created User name. |
created.user.id | User id String Automaticaly. |
created.user.name | User name String. |
created.user.email | User email String. |
created.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
update* | Update. |
update.user* | Update user. |
update.user.id | User id String Automaticaly. |
update.user.name | User name String. |
update.user.email | User email String. |
update.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |