Create Payable Beginning Balances
POST
/api/v2/payable_beginning_balances
Use this method to create a payable beginning balance. See our HTTP POST documentation for complete queries method.
The following are elements for create a payable beginning balance :
Body Request
Element | Description |
---|---|
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 purchases payable beginning balances. String maximum 35 characters . |
description | Description of purchases payable beginning balances. 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 . |
billing_address* | Billing Address data. |
billing_address.complete_address | Billing address complete String |
billing_address.district | Billing Address district String |
billing_address.city | Billing Address city String |
billing_address.state | Billing Address state String |
billing_address.country | Billing Address country String |
billing_address.postal_code | Billing Address postal code String |
shipping_address* | Shipping Address Data |
shipping_address.complete_address | Shipping Address complete String |
shipping_address.district | Shipping Address district String |
shipping_address.city | Shipping Address city String |
shipping_address.state | Shipping Address state String |
shipping_address.country | Shipping Address country String |
shipping_address.postal_code | Shipping Address postal code String |
employees* | Element for employees. |
employees.id | Unique code for identifier employees. String 36 characters . |
employees.type* | employees.type |
employees.type.id | Unique code for identifier employees type. String 36 characters . |
employees.type.name | employees type name. String 36 characters . |
employees.contact* | Element for Contact. |
employees.contact.id | Unique code for identifier contact. String 36 characters . |
employees.contact.code | Contact code String maximum 255 characters . |
employees.contact.name | Contact name String maximum 255 characters . |
employees.contact.classification* | contact classification. |
employees.contact.classification.id | Unique code for identifier classification. String 36 characters . |
employees.contact.classification.name | Contact classification name String maximum 255 characters . |
term_of_payment* | term_of_payment. |
term_of_payment.base_date | Base date period of credit transaction, for supplier and vendor type. Integer. |
term_of_payment.percentage | Term of payment percentage of credit transaction, for supplier and vendor type. Integer. |
term_of_payment.due_date | Due date period of credit transaction, for supplier and vendor type. Integer. |
term_of_payment.due_days | Due days period of credit transaction, for supplier and vendor type. Integer. |
term_of_payment.late_charge_rate | Credit transaction late charge Integer. |
term_of_payment.discount_days | Discount day, for supplier and vendor type Integer. |
term_of_payment.early_discount_rate | Early discount, for supplier and vendor type Integer. |
parent* | Parent invices data |
parent.id | Unique code for identifier Parent. String 36 characters . |
parent.status | Parent status String maximum 3 characters . |
parent.date | Parent date Date format YYYY-MM-DD . |
parent.time | Parent time Time format hh:mm:ss . |
parent.number | Parent number String maximum 255 characters . |
department* | Department of purchases invoices. |
Department.id | Unique code for identifier supplier. String 36 characters . |
Department.code | supplier code String maximum 255 characters . |
Department.name | supplier name String maximum 255 characters . |
project* | Project of purchases invoices. |
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* | Document of purchases invoices. |
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. |
tax_form* | Tax form of purchases invoices. |
tax_form.number | Document number String. |
tax_form.date | Document date. Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
orders* | Element for orders. |
orders.id | Unique code for identifier orders.id. String 36 characters . |
orders.date | orders date Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . |
orders.number | orders number Number maximum 255 characters . |
orders.description | orders description Number maximum 255 characters . |
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. |
account* | Account data . |
account.id | Unique code for identifier account. String 36 characters . |
account.code | Account code String maximum 255 characters . |
account.name | Account name String maximum 255 characters . |
currency* | Element of currency |
currency.id | Unique code for identifier currency. String 36 characters . |
currency.code | Currency code String maximum 3 characters . |
currency.name | Currency name String maximum 255 characters . |
currency.symbol | Currency symbol String maximum 255 characters . |
exchange_rate | Exchange rate number |
amount | amount number |
payable_payments* | Element for payable payments. |
payable_payments.id | Unique code for identifier payable payments. String 36 characters . |
payable_payments.date | Payable payments date Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . |
payable_payments.number | Payable payments number. String 36 characters . |
payable_payments.description | Payable payments description String 255 characters . |
payable_payments.amount | Payable payments amount number. |
balance | total balance Number. |
Body Response
Element | Description |
---|---|
id | Unique code for identifier purchases payable beginning balances. 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 purchases payable beginning balances. String maximum 35 characters . |
description | Description of purchases payable beginning balances. 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 . |
billing_address* | Billing Address data. |
billing_address.complete_address | Billing address complete String |
billing_address.district | Billing Address district String |
billing_address.city | Billing Address city String |
billing_address.state | Billing Address state String |
billing_address.country | Billing Address country String |
billing_address.postal_code | Billing Address postal code String |
shipping_address* | Shipping Address Data |
shipping_address.complete_address | Shipping Address complete String |
shipping_address.district | Shipping Address district String |
shipping_address.city | Shipping Address city String |
shipping_address.state | Shipping Address state String |
shipping_address.country | Shipping Address country String |
shipping_address.postal_code | Shipping Address postal code String |
employees* | Element for employees. |
employees.id | Unique code for identifier employees. String 36 characters . |
employees.type* | employees.type |
employees.type.id | Unique code for identifier employees type. String 36 characters . |
employees.type.name | employees type name. String 36 characters . |
employees.contact* | Element for Contact. |
employees.contact.id | Unique code for identifier contact. String 36 characters . |
employees.contact.code | Contact code String maximum 255 characters . |
employees.contact.name | Contact name String maximum 255 characters . |
employees.contact.classification* | contact classification. |
employees.contact.classification.id | Unique code for identifier classification. String 36 characters . |
employees.contact.classification.name | Contact classification name String maximum 255 characters . |
term_of_payment* | term_of_payment. |
term_of_payment.base_date | Base date period of credit transaction, for supplier and vendor type. Integer. |
term_of_payment.percentage | Term of payment percentage of credit transaction, for supplier and vendor type. Integer. |
term_of_payment.due_date | Due date period of credit transaction, for supplier and vendor type. Integer. |
term_of_payment.due_days | Due days period of credit transaction, for supplier and vendor type. Integer. |
term_of_payment.late_charge_rate | Credit transaction late charge Integer. |
term_of_payment.discount_days | Discount day, for supplier and vendor type Integer. |
term_of_payment.early_discount_rate | Early discount, for supplier and vendor type Integer. |
parent* | Parent invices data |
parent.id | Unique code for identifier Parent. String 36 characters . |
parent.status | Parent status String maximum 3 characters . |
parent.date | Parent date Date format YYYY-MM-DD . |
parent.time | Parent time Time format hh:mm:ss . |
parent.number | Parent number String maximum 255 characters . |
department* | Department of purchases invoices. |
Department.id | Unique code for identifier supplier. String 36 characters . |
Department.code | supplier code String maximum 255 characters . |
Department.name | supplier name String maximum 255 characters . |
project* | Project of purchases invoices. |
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* | Document of purchases invoices. |
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. |
tax_form* | Tax form of purchases invoices. |
tax_form.number | Document number String. |
tax_form.date | Document date. Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
orders* | Element for orders. |
orders.id | Unique code for identifier orders.id. String 36 characters . |
orders.date | orders date Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . |
orders.number | orders number Number maximum 255 characters . |
orders.description | orders description Number maximum 255 characters . |
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. |
account* | Account data . |
account.id | Unique code for identifier account. String 36 characters . |
account.code | Account code String maximum 255 characters . |
account.name | Account name String maximum 255 characters . |
currency* | Element of currency |
currency.id | Unique code for identifier currency. String 36 characters . |
currency.code | Currency code String maximum 3 characters . |
currency.name | Currency name String maximum 255 characters . |
currency.symbol | Currency symbol String maximum 255 characters . |
exchange_rate | Exchange rate number |
amount | amount number |
payable_payments* | Element for payable payments. |
payable_payments.id | Unique code for identifier payable payments. String 36 characters . |
payable_payments.date | Payable payments date Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . |
payable_payments.number | Payable payments number. String 36 characters . |
payable_payments.description | Payable payments description String 255 characters . |
payable_payments.amount | Payable payments amount number. |
balance | total balance Number. |
created* | Created. |
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* | 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. |