# Boleto gerado

### Particularidades do boleto

O boleto possui um objeto `data.transaction.additional_data.BANK_SLIP` com a URL de download do PDF e o código de barras&#x20;

```json
{
    //...
    "payment_type": "BANK_SLIP",
    "additional_data": {
        "PIX": null,
        "BANK_SLIP": {
            "url": "https://link.com/id.pdf",
            "barcode": "00000.00000 00000.00000 00000.00000 0 00000000000000"
        }
    }
    //...
}
```

### Payload exemplo:

<pre class="language-json"><code class="lang-json">{
<strong>    "event": "bank_slip_generated",
</strong>    "data": {
        "offer": {
            "id": "33a86ead-abcd-4204-ba12-d1af1c251add",
            "name": "Nome da oferta",
            "type": "ENTRY",
            "recurrence": null,
            "amount": 10000,
            "amount_client": 9502,
            "amount_assiny": 498,
            "amount_with_tax": 10000,
            "product": {
                "id": "b76d819b-abcd-abcd-abcd-31417189a2b4",
                "name": "Produto de teste interno",
                "producer_name": "Assiny"
            },
            "order_bumps": [
                {
                  "amount_assiny": 582,
                  "amount_client": 9555,
                  "amount_with_tax": 10137,
                  "checkout_type": "ORDERBUMP",
                  "id": "3e9fc781-abcd-abcd-abcd-c40cc7702423",
                  "installments": 1,
                  "name": "NAME",
                  "payment_type": "TRANSACTION",
                  "product": {
                    "id": "60433c19-abcd-abcd-abcd-c213e21b6ba5",
                    "name": "Nome do produto",
                    "producer_name": "Assiny"
                  },
                  "product_price": 9700,
                  "recurrence": null,
                  "type": "TRANSACTION"
                }
            ]
        },
        "transaction": {
            "id": "3c3ff0b4-f2bd-4698-8291-0f6ffa6c06d3",
            "project": {
                "name": "Assiny",
                "id": "e3255bd0-65ef-4b32-afbc-5502bfc68ae7",
                "organization": {
                    "name": "Assiny",
                    "id": "723a0f0a-7cdb-4167-a006-3c949b1d92fd"
                }
            },
            "amount": 10000,
            "fee_amount": 498,
            "net_amount": 9502,
            "commissions": [
                {
                  "amount": 9502,
                  "user": "Nome do vendedor"
                }
              ],
            "installments": 1,
            "currency": "BRL",
            "cycle": 1,
            "created_at": "2025-01-14T13:25:11.216726Z",
            "updated_at": "2025-01-14T13:25:11.691931Z",
<strong>            "status": "bank_slip_generated",
</strong>            "payment_type": "BANK_SLIP",
            "smart_installment": null,
<strong>            "additional_data": {
</strong>                "PIX": null,
<strong>                "BANK_SLIP": {
</strong><strong>                    "url": "https://link.com/id.pdf",
</strong><strong>                    "barcode": "00000.00000 00000.00000 00000.00000 0 00000000000000"
</strong><strong>                }
</strong>            }
        },
        "client": {
            "id": "bc42628a-abc-abc-abc-2d715b64684b",
            "full_name": "Nicolas Ibraim",
            "first_name": "Nicolas",
            "last_name": "Ibraim",
            "email": "design@teste.com",
            "phone": "+5537994471342",
            "document": "10624322110",
            "address": {
                "street": "Rua Primeiro",
                "number": "111",
                "complement": "Ap. 200",
                "neighborhood": "Centro",
                "city": "Belo Horizonte",
                "state": "Minas Gerais",
                "country": "Brasil",
                "zipcode": "31570180"
            }
        },
        "metadata": {
            "utm_campaign": "direct",
            "utm_content": "direct",
            "utm_medium": "direct",
            "utm_source": "direct",
            "utm_term": "direct",
            "ip": "000.249.228.000",
            "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
            "url_parameters": {
                "fbclid": null,
                "fbp": "fb.2.1736515179244.221138789314310000",
                "ip": "000.249.228.000",
                "nodeId": "kuDEDD",
                "referrer": "direct",
                "saveCard": false,
                "trk_ad": "direct",
                "trk_adgp": "direct",
                "trk_cpg": "direct",
                "trk_src": "direct",
                "utm_campaign": "direct",
                "utm_content": "direct",
                "utm_medium": "direct",
                "utm_source": "direct",
                "utm_term": "direct"
            },
            "funnel_id": "1d1b5098-abcd-abcd-abcd-0814d68baf0a",
            "short_funnel_id": "opZZZZ",
            "node_id": "kuDEDD",
            "event_source_url": "https://pay.assiny.com.br/opZZZZ/node/kuDEDD?"
        }
    }
}
</code></pre>
