Partial Update Payable Write Off by Id
PATCH
/api/v2/payable_write_offs/d10b9d6b-5c69-49fe-bf79-ede7fd8147c5
Use this method to update payable_write_offs. See our HTTP GET documentation for complete queries method.
The following elements are returned in the update payable_write_offs methods response :
Body Request
Element | Description |
---|---|
reason | The reason why changes were made. String 170 characters . |
status | Status transaction, the status must be one of the following types: draft , deleted , submitted , approved , voided , finished . |
Body Response
Element | Description |
---|---|
id | Unique code for identifier payable_write_offs. String 36 characters . |
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 payable_write_offs. String maximum 35 characters . |
description | Description of payable_write_offs. String maximum 75 characters . |
supplier* | Element for supplier. |
supplier.id | Unique code for identifier supplier. String 36 characters . |
supplier.code | supplier code String maximum 255 characters . |
supplier.name | supplier name String maximum 255 characters . |
supplier.classification* | Element for supplier classification. |
supplier.classification.id | Unique code for identifier classification. String 36 characters . |
supplier.classification.name | Classification name String maximum 255 characters . |
Department.id | Unique code for identifier department. String 36 characters . |
Department.code | Department code String maximum 255 characters . |
Department.name | Department name String maximum 255 characters . |
project.id | Unique code for identifier project. String 36 characters . |
project.code | Project code String maximum 255 characters . |
project.name | Project name String maximum 255 characters . |
document.date | Document date. Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
document.number | Document number String. |
other_fields | other_fields |
other_fields.id | Unique code for identifier other_fields. String 36 characters . |
other_fields.key | key words of other_fields. String 36 characters . |
other_fields.type | other_fields type. String 36 characters . |
other_fields.value | other_fields value. String 36 characters . |
attachments* | attachments. |
attachments.id | Unique code for identifier attachments. String 36 characters . |
attachments.name | Attachments name String. |
attachments.extension | Attachments extension JPG, PNG, PDF String. |
attachments.url | Attachments url String. |
invoice.id | Unique code for identifier invoice id. String 36 characters . |
invoice.date | Invoice date Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . |
invoice.number | Invoice number String maximum 255 characters . |
invoice.description | Invoice description String maximum 255 characters . |
invoice.account.id | Account id String maximum 255 characters . |
invoice.account.code | Account code String maximum 255 characters . |
invoice.account.name | Account name String maximum 255 characters . |
invoice.account.alias_name | Account alias_name String maximum 255 characters . |
discount.rate | Discount rate. number. |
discount.amount_origin | Discount amount origin number. |
discount.amount | Discount amount number. |
currency.id | Unique code for identifier currency String 36 characters . |
currency.code | currency code String 255 characters . |
currency.name | currency name String 255 characters . |
currency.symbol | currency symbol String 255 characters . |
exchange_rate | currency code String 255 characters . |
amount_origin | currency code String 255 characters . |
amount | currency code String 255 characters . |
created* | Element of Created Automaticaly . |
created.user* | Created User. |
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* | Element of Update Automaticaly . |
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. |