## Download in PDF format

`GET`  https://{entorno}.ticketbaiws.eus/tbai-pdf/

This method returns, as a PDF (Base64-encoded), an invoice previously sent to TicketBAI through Ticketbai WS

**PARAMETERS**

- `serie` (string, required): Invoice series. Ejemplo: `A`
- `numero` (string, required): Invoice number. Ejemplo: `2024000123`

**GET** `https://{entorno}.ticketbaiws.eus/tbai-pdf/`

```bash
$ curl --request GET \
     --url https://api-test.ticketbaiws.eus/tbai-pdf/ \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'Token: xxx' \
     --header 'Nif: 00000014Z'
	 --data '{"serie":"A","numero":"2021000123"}'
```

Respuesta:

```json
HTTP/1.1 200 OK
{
	"result": "OK",
	"return": "JVBERi0xLjcKJeLjz9MKOSAwIG9iago8PCAvVHlwZSAvUGFnZSAv....",
	"msg": null
}
```

Fuente: https://ticketbaiws.eus/en/tbai-pdf-get/
