GENERAR COTIZACIÓN
POST /api/quotations
Los comprobantes de cotización son documentos esenciales en las transacciones comerciales, proporcionando detalles sobre ofertas de
precios a clientes o proveedores. Estas cotizaciones son fundamentales para la toma de decisiones y la gestión eficiente de ventas
y adquisiciones en el mundo empresarial.
Ejemplo:
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
required
descriptionstringExample:
establishment_idnumberExample: 1
date_of_issuedateExample: 2022-02-08
time_of_issuetimeExample: 10:17:26
customer_idnumberExample: 4
currency_type_idstringExample: PEN
purchase_orderstringExample: null
exchange_rate_salenumberExample: 4.078
total_prepaymentnumberExample: 0
total_chargenumberExample: 0
total_discountnumberExample: 0
total_exportationnumberExample: 0
total_freenumberExample: 0
total_taxednumberExample: 29.66
total_unaffectednumberExample: 0
total_exoneratednumberExample: 0
total_igvnumberExample: 5.34
total_igv_freenumberExample: 0
total_base_iscnumberExample: 0
total_iscnumberExample: 0
total_base_other_taxesnumberExample: 0
total_other_taxesnumberExample: 0
total_taxesnumberExample: 5.34
total_valuenumberExample: 29.66
subtotalnumberExample: 35
operation_type_idnumberExample: null
date_of_duenumberExample: null
delivery_datenumberExample: null
items
object[]
item
object
item_codenumberExample: null
full_descriptionstringExample: algo - algo -
stock_by_extra
object
CatItemStatus
object
detailedstringExample: []
CatItemUnitBusiness
object
detailedstringExample: []
CatItemMoldCavity
object
detailedstringExample: []
CatItemPackageMeasurement
object
detailedstringExample: []
CatItemUnitsPerPackage
object
detailedstringExample: []
CatItemMoldProperty
object
detailedstringExample: []
CatItemProductFamily
object
detailedstringExample: []
colors
object
detailedstringExample: []
CatItemSize
object
detailedstringExample: []
warehouse_descriptionstringExample: Almacén Oficina Principal
extra
object
colorsstringExample: null
CatItemUnitsPerPackagestringExample: null
CatItemMoldPropertystringExample: null
CatItemProductFamilystringExample: null
CatItemMoldCavitystringExample: null
CatItemPackageMeasurementstringExample: null
CatItemStatusstringExample: null
CatItemSizestringExample: null
CatItemUnitBusinessstringExample: null
stockstringExample: -9.0000
internal_idstringExample: algo
descriptionstringExample: algo
currency_type_idstringExample: PEN
currency_type_symbolstringExample: S/
sale_unit_pricestringExample: 35.0000
purchase_unit_pricestringExample: 0.000000
unit_type_idstringExample: NIU
original_unit_type_idstringExample: NIU
sale_affectation_igv_type
object
exportationnumberExample: 0
descriptionstringExample: Gravado - Operación Onerosa
sale_affectation_igv_type_idstringExample: 10
purchase_affectation_igv_type_idstringExample: 10
calculate_quantitybooleanExample: false
has_igvbooleanExample: true
has_plastic_bag_taxesbooleanExample: false
amount_plastic_bag_taxesstringExample: 0.10
CatItemUnitsPerPackagestringExample: []
CatItemMoldPropertystringExample: []
CatItemProductFamilystringExample: []
CatItemMoldCavitystringExample: []
CatItemPackageMeasurementstringExample: []
CatItemStatusstringExample: []
CatItemSizestringExample: []
CatItemUnitBusinessstringExample: []
item_unit_typesstringExample: []
warehouses
object[]
warehouse_descriptionstringExample: Almacén Oficina Principal
stockstringExample: -9.0000
warehouse_idnumberExample: 1
checkedbooleanExample: true
attributesstringExample: []
lots_groupstringExample: []
lots_enabledbooleanExample: false
series_enabledbooleanExample: false
is_setbooleanExample: false
lot_codestringExample: null
date_of_duestringExample: null
barcodestringExample: 000000000003
change_free_affectation_igvbooleanExample: false
original_affectation_igv_type_idstringExample: 10
has_iscbooleanExample: false
system_isc_type_idstringExample: null
percentage_iscstringExample: 0
is_for_productionbooleanExample: false
name_product_pdfstringExample:
unit_pricestringExample: 35.0000
extra_attr_namestringExample: Tiempo de entrega
extra_attr_valuestringExample:
presentationstringExample: {}
currency_type_idstringExample: PEN
unit_valuenumberExample: 29.661016949152543
affectation_igv_type_idstringExample: 10
affectation_igv_type
object
activenumberExample: null
exportationnumberExample: 0
descriptionstringExample: Gravado - Operación Onerosa
total_base_igvnumberExample: 29.66
percentage_igvnumberExample: 18
total_igvnumberExample: 5.34
system_isc_type_idnumberExample: null
total_base_iscnumberExample: 0
percentage_iscnumberExample: 0
total_iscnumberExample: 0
total_base_other_taxesnumberExample: 0
percentage_other_taxesnumberExample: 0
total_other_taxesnumberExample: 0
total_plastic_bag_taxesnumberExample: 0
total_taxesnumberExample: 5.34
price_type_idstringExample: 01
unit_pricenumberExample: 35
input_unit_price_valuenumberExample: 35
total_valuenumberExample: 29.66
total_discountnumberExample: 0
total_chargenumberExample: 0
attributesstringExample: []
discountsstringExample: []
warehouse_idnumberExample: null
name_product_pdfstringExample:
record_idnumberExample: null
total_value_without_roundingnumberExample: 29.661016949152543
total_base_igv_without_roundingnumberExample: 29.661016949152543
total_igv_without_roundingnumberExample: 5.338983050847458
total_taxes_without_roundingnumberExample: 5.338983050847458
total_without_roundingnumberExample: 35
discountsstringExample: []
attributesstringExample: []
payment_method_type_idstringExample: 10
customer_address_idstringExample: null
additional_informationstringExample: null
shipping_addressstringExample: null
account_numberstringExample: null
terms_conditionstringExample: null
active_terms_conditionbooleanExample: false
actions
object
format_pdfstringExample: a4
payments
object[]
document_idnumberExample: null
date_of_paymentdateExample: 2022-02-08
payment_method_type_idstringExample: 01
referencestringExample: null
payment_destination_idstringExample: cash
sale_opportunity_idnumberExample: null
contactstringExample: null
Body
required
descriptionstringExample:
establishment_idnumberExample: 1
date_of_issuedateExample: 2022-02-08
time_of_issuetimeExample: 10:17:26
customer_idnumberExample: 4
currency_type_idstringExample: PEN
purchase_orderstringExample: null
exchange_rate_salenumberExample: 4.078
total_prepaymentnumberExample: 0
total_chargenumberExample: 0
total_discountnumberExample: 0
total_exportationnumberExample: 0
total_freenumberExample: 0
total_taxednumberExample: 29.66
total_unaffectednumberExample: 0
total_exoneratednumberExample: 0
total_igvnumberExample: 5.34
total_igv_freenumberExample: 0
total_base_iscnumberExample: 0
total_iscnumberExample: 0
total_base_other_taxesnumberExample: 0
total_other_taxesnumberExample: 0
total_taxesnumberExample: 5.34
total_valuenumberExample: 29.66
subtotalnumberExample: 35
operation_type_idnumberExample: null
date_of_duenumberExample: null
delivery_datenumberExample: null
items
object[]
item
object
item_codenumberExample: null
full_descriptionstringExample: algo - algo -
stock_by_extra
object
CatItemStatus
object
detailedstringExample: []
CatItemUnitBusiness
object
detailedstringExample: []
CatItemMoldCavity
object
detailedstringExample: []
CatItemPackageMeasurement
object
detailedstringExample: []
CatItemUnitsPerPackage
object
detailedstringExample: []
CatItemMoldProperty
object
detailedstringExample: []
CatItemProductFamily
object
detailedstringExample: []
colors
object
detailedstringExample: []
CatItemSize
object
detailedstringExample: []
warehouse_descriptionstringExample: Almacén Oficina Principal
extra
object
colorsstringExample: null
CatItemUnitsPerPackagestringExample: null
CatItemMoldPropertystringExample: null
CatItemProductFamilystringExample: null
CatItemMoldCavitystringExample: null
CatItemPackageMeasurementstringExample: null
CatItemStatusstringExample: null
CatItemSizestringExample: null
CatItemUnitBusinessstringExample: null
stockstringExample: -9.0000
internal_idstringExample: algo
descriptionstringExample: algo
currency_type_idstringExample: PEN
currency_type_symbolstringExample: S/
sale_unit_pricestringExample: 35.0000
purchase_unit_pricestringExample: 0.000000
unit_type_idstringExample: NIU
original_unit_type_idstringExample: NIU
sale_affectation_igv_type
object
exportationnumberExample: 0
descriptionstringExample: Gravado - Operación Onerosa
sale_affectation_igv_type_idstringExample: 10
purchase_affectation_igv_type_idstringExample: 10
calculate_quantitybooleanExample: false
has_igvbooleanExample: true
has_plastic_bag_taxesbooleanExample: false
amount_plastic_bag_taxesstringExample: 0.10
CatItemUnitsPerPackagestringExample: []
CatItemMoldPropertystringExample: []
CatItemProductFamilystringExample: []
CatItemMoldCavitystringExample: []
CatItemPackageMeasurementstringExample: []
CatItemStatusstringExample: []
CatItemSizestringExample: []
CatItemUnitBusinessstringExample: []
item_unit_typesstringExample: []
warehouses
object[]
warehouse_descriptionstringExample: Almacén Oficina Principal
stockstringExample: -9.0000
warehouse_idnumberExample: 1
checkedbooleanExample: true
attributesstringExample: []
lots_groupstringExample: []
lots_enabledbooleanExample: false
series_enabledbooleanExample: false
is_setbooleanExample: false
lot_codestringExample: null
date_of_duestringExample: null
barcodestringExample: 000000000003
change_free_affectation_igvbooleanExample: false
original_affectation_igv_type_idstringExample: 10
has_iscbooleanExample: false
system_isc_type_idstringExample: null
percentage_iscstringExample: 0
is_for_productionbooleanExample: false
name_product_pdfstringExample:
unit_pricestringExample: 35.0000
extra_attr_namestringExample: Tiempo de entrega
extra_attr_valuestringExample:
presentationstringExample: {}
currency_type_idstringExample: PEN
unit_valuenumberExample: 29.661016949152543
affectation_igv_type_idstringExample: 10
affectation_igv_type
object
activenumberExample: null
exportationnumberExample: 0
descriptionstringExample: Gravado - Operación Onerosa
total_base_igvnumberExample: 29.66
percentage_igvnumberExample: 18
total_igvnumberExample: 5.34
system_isc_type_idnumberExample: null
total_base_iscnumberExample: 0
percentage_iscnumberExample: 0
total_iscnumberExample: 0
total_base_other_taxesnumberExample: 0
percentage_other_taxesnumberExample: 0
total_other_taxesnumberExample: 0
total_plastic_bag_taxesnumberExample: 0
total_taxesnumberExample: 5.34
price_type_idstringExample: 01
unit_pricenumberExample: 35
input_unit_price_valuenumberExample: 35
total_valuenumberExample: 29.66
total_discountnumberExample: 0
total_chargenumberExample: 0
attributesstringExample: []
discountsstringExample: []
warehouse_idnumberExample: null
name_product_pdfstringExample:
record_idnumberExample: null
total_value_without_roundingnumberExample: 29.661016949152543
total_base_igv_without_roundingnumberExample: 29.661016949152543
total_igv_without_roundingnumberExample: 5.338983050847458
total_taxes_without_roundingnumberExample: 5.338983050847458
total_without_roundingnumberExample: 35
discountsstringExample: []
attributesstringExample: []
payment_method_type_idstringExample: 10
customer_address_idstringExample: null
additional_informationstringExample: null
shipping_addressstringExample: null
account_numberstringExample: null
terms_conditionstringExample: null
active_terms_conditionbooleanExample: false
actions
object
format_pdfstringExample: a4
payments
object[]
document_idnumberExample: null
date_of_paymentdateExample: 2022-02-08
payment_method_type_idstringExample: 01
referencestringExample: null
payment_destination_idstringExample: cash
sale_opportunity_idnumberExample: null
contactstringExample: null
Body
required
descriptionstringExample:
establishment_idnumberExample: 1
date_of_issuedateExample: 2022-02-08
time_of_issuetimeExample: 10:17:26
customer_idnumberExample: 4
currency_type_idstringExample: PEN
purchase_orderstringExample: null
exchange_rate_salenumberExample: 4.078
total_prepaymentnumberExample: 0
total_chargenumberExample: 0
total_discountnumberExample: 0
total_exportationnumberExample: 0
total_freenumberExample: 0
total_taxednumberExample: 29.66
total_unaffectednumberExample: 0
total_exoneratednumberExample: 0
total_igvnumberExample: 5.34
total_igv_freenumberExample: 0
total_base_iscnumberExample: 0
total_iscnumberExample: 0
total_base_other_taxesnumberExample: 0
total_other_taxesnumberExample: 0
total_taxesnumberExample: 5.34
total_valuenumberExample: 29.66
subtotalnumberExample: 35
operation_type_idnumberExample: null
date_of_duenumberExample: null
delivery_datenumberExample: null
items
object[]
item
object
item_codenumberExample: null
full_descriptionstringExample: algo - algo -
stock_by_extra
object
CatItemStatus
object
detailedstringExample: []
CatItemUnitBusiness
object
detailedstringExample: []
CatItemMoldCavity
object
detailedstringExample: []
CatItemPackageMeasurement
object
detailedstringExample: []
CatItemUnitsPerPackage
object
detailedstringExample: []
CatItemMoldProperty
object
detailedstringExample: []
CatItemProductFamily
object
detailedstringExample: []
colors
object
detailedstringExample: []
CatItemSize
object
detailedstringExample: []
warehouse_descriptionstringExample: Almacén Oficina Principal
extra
object
colorsstringExample: null
CatItemUnitsPerPackagestringExample: null
CatItemMoldPropertystringExample: null
CatItemProductFamilystringExample: null
CatItemMoldCavitystringExample: null
CatItemPackageMeasurementstringExample: null
CatItemStatusstringExample: null
CatItemSizestringExample: null
CatItemUnitBusinessstringExample: null
stockstringExample: -9.0000
internal_idstringExample: algo
descriptionstringExample: algo
currency_type_idstringExample: PEN
currency_type_symbolstringExample: S/
sale_unit_pricestringExample: 35.0000
purchase_unit_pricestringExample: 0.000000
unit_type_idstringExample: NIU
original_unit_type_idstringExample: NIU
sale_affectation_igv_type
object
exportationnumberExample: 0
descriptionstringExample: Gravado - Operación Onerosa
sale_affectation_igv_type_idstringExample: 10
purchase_affectation_igv_type_idstringExample: 10
calculate_quantitybooleanExample: false
has_igvbooleanExample: true
has_plastic_bag_taxesbooleanExample: false
amount_plastic_bag_taxesstringExample: 0.10
CatItemUnitsPerPackagestringExample: []
CatItemMoldPropertystringExample: []
CatItemProductFamilystringExample: []
CatItemMoldCavitystringExample: []
CatItemPackageMeasurementstringExample: []
CatItemStatusstringExample: []
CatItemSizestringExample: []
CatItemUnitBusinessstringExample: []
item_unit_typesstringExample: []
warehouses
object[]
warehouse_descriptionstringExample: Almacén Oficina Principal
stockstringExample: -9.0000
warehouse_idnumberExample: 1
checkedbooleanExample: true
attributesstringExample: []
lots_groupstringExample: []
lots_enabledbooleanExample: false
series_enabledbooleanExample: false
is_setbooleanExample: false
lot_codestringExample: null
date_of_duestringExample: null
barcodestringExample: 000000000003
change_free_affectation_igvbooleanExample: false
original_affectation_igv_type_idstringExample: 10
has_iscbooleanExample: false
system_isc_type_idstringExample: null
percentage_iscstringExample: 0
is_for_productionbooleanExample: false
name_product_pdfstringExample:
unit_pricestringExample: 35.0000
extra_attr_namestringExample: Tiempo de entrega
extra_attr_valuestringExample:
presentationstringExample: {}
currency_type_idstringExample: PEN
unit_valuenumberExample: 29.661016949152543
affectation_igv_type_idstringExample: 10
affectation_igv_type
object
activenumberExample: null
exportationnumberExample: 0
descriptionstringExample: Gravado - Operación Onerosa
total_base_igvnumberExample: 29.66
percentage_igvnumberExample: 18
total_igvnumberExample: 5.34
system_isc_type_idnumberExample: null
total_base_iscnumberExample: 0
percentage_iscnumberExample: 0
total_iscnumberExample: 0
total_base_other_taxesnumberExample: 0
percentage_other_taxesnumberExample: 0
total_other_taxesnumberExample: 0
total_plastic_bag_taxesnumberExample: 0
total_taxesnumberExample: 5.34
price_type_idstringExample: 01
unit_pricenumberExample: 35
input_unit_price_valuenumberExample: 35
total_valuenumberExample: 29.66
total_discountnumberExample: 0
total_chargenumberExample: 0
attributesstringExample: []
discountsstringExample: []
warehouse_idnumberExample: null
name_product_pdfstringExample:
record_idnumberExample: null
total_value_without_roundingnumberExample: 29.661016949152543
total_base_igv_without_roundingnumberExample: 29.661016949152543
total_igv_without_roundingnumberExample: 5.338983050847458
total_taxes_without_roundingnumberExample: 5.338983050847458
total_without_roundingnumberExample: 35
discountsstringExample: []
attributesstringExample: []
payment_method_type_idstringExample: 10
customer_address_idstringExample: null
additional_informationstringExample: null
shipping_addressstringExample: null
account_numberstringExample: null
terms_conditionstringExample: null
active_terms_conditionbooleanExample: false
actions
object
format_pdfstringExample: a4
payments
object[]
document_idnumberExample: null
date_of_paymentdateExample: 2022-02-08
payment_method_type_idstringExample: 01
referencestringExample: null
payment_destination_idstringExample: cash
sale_opportunity_idnumberExample: null
contactstringExample: null
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successbooleanExample: true
data
object
number_fullstringExample: COT-8
external_idstringExample: 25fd5675-1ad5-4e7b-9191-9ae4b7f1dde2
filenamestringExample: COT-8-20241108
print_a4stringExample: https://empresa1.demo3pro6.ibu.pe/quotations/print/25fd5675-1ad5-4e7b-9191-9ae4b7f1dde2/a4
print_ticketstringExample: https://empresa1.demo3pro6.ibu.pe/quotations/print/25fd5675-1ad5-4e7b-9191-9ae4b7f1dde2/ticket
ResponseSamples component placeholder
- Schema
- Example (from schema)
Schema
successbooleanExample: true
data
object
number_fullstringExample: COT-8
external_idstringExample: 25fd5675-1ad5-4e7b-9191-9ae4b7f1dde2
filenamestringExample: COT-8-20241108
print_a4stringExample: https://empresa1.demo3pro6.ibu.pe/quotations/print/25fd5675-1ad5-4e7b-9191-9ae4b7f1dde2/a4
print_ticketstringExample: https://empresa1.demo3pro6.ibu.pe/quotations/print/25fd5675-1ad5-4e7b-9191-9ae4b7f1dde2/ticket
ResponseSamples component placeholder