Skip to content

Commit

Permalink
Merge pull request #474 from mercadopago/hotfix/colombia
Browse files Browse the repository at this point in the history
docu colombia
  • Loading branch information
Juan Ignacio Veltri authored Sep 11, 2019
2 parents 040da29 + 3a46afe commit 346fd1f
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions guides/payments/web-payment-checkout/v1/personalization.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,34 @@ Si no quieres permitir que se ingrese a la preferencia de pago para efectuar el
"expiration_date_to": "2017-02-28T12:00:00.000-04:00"
```

----[mco]----
### IVA diferenciado

Puedes modificar el valor del impuesto para la Dirección de Impuestos y Aduanas Nacionales (DIAN) que aplique según el producto o servicio que ofrezcas. Si no diferencias este valor, se aplicará por defecto el 19%.

Atributo | Descripción
---------| -----------
type | Identificador del impuesto. Solo se admiten los valores IVA e INC
value | Monto del impuesto. Se admite un máximo de dos decimales. Para ítemes excentos de impuestos se debe informar cero

```json
===
Usa el atributo taxes para definir el valor que corresponda
===
"taxes": [
{
"type": "IVA",
"value": 16
}
]
```

------------

Para conocer más sobre los atributos de la preferencia, [consultá la documentación de la API](https://www.mercadopago.com.ar/developers/es/reference/preferences/resource/)


----[mlm, mlc, mpe, mla, mlb, mlu]----

### Aquí tienes una preferencia completa
Para resumir todo lo anterior, a continuación se muestran todos los datos que se pueden configurar en una preferencia:
Expand Down Expand Up @@ -356,6 +380,86 @@ Para resumir todo lo anterior, a continuación se muestran todos los datos que s
}

```
------------
----[mco]----

```json
{
"items": [
{
"id": "item-ID-1234",
"title": "Title of what you are paying for. It will be displayed in the payment process.",
"currency_id": "CLP",
"picture_url": "https://www.mercadopago.com/org-img/MP3/home/logomp3.gif",
"description": "Item description",
"category_id": "art", // Available categories at https://api.mercadopago.com/item_categories
"quantity": 1,
"unit_price": 100
}
],
"payer": {
"name": "user-name",
"surname": "user-surname",
"email": "[email protected]",
"date_created": "2015-06-02T12:58:41.425-04:00",
"phone": {
"area_code": "11",
"number": "4444-4444"
},
"identification": {
"type": "RUT", // Available ID types at https://api.mercadopago.com/v1/identification_types
"number": "12345678"
},
"address": {
"street_name": "Street",
"street_number": 123,
"zip_code": "5700"
}
},
"back_urls": {
"success": "https://www.success.com",
"failure": "http://www.failure.com",
"pending": "http://www.pending.com"
},
"auto_return": "approved",
"payment_methods": {
"excluded_payment_methods": [
{
"id": "master"
}
],
"excluded_payment_types": [
{
"id": "ticket"
}
],
"installments": 12,
"default_payment_method_id": null,
"default_installments": null
},
"shipments": {
"receiver_address": {
"zip_code": "5700",
"street_number": 123,
"street_name": "Street",
"floor": 4,
"apartment": "C"
}
},
"notification_url": "https://www.your-site.com/ipn",
"external_reference": "Reference_1234",
"expires": true,
"expiration_date_from": "2016-02-01T12:00:00.000-04:00",
"expiration_date_to": "2016-02-28T12:00:00.000-04:00",
"taxes": [
{
"type": "IVA",
"value": 16
}
]
}
```
------------

### Próximos pasos

Expand Down

0 comments on commit 346fd1f

Please sign in to comment.