# API: Get invoices pdf
# getInvoicesPDF
Generate PDF from invoice ids, in response get a base64 encoded representation of pdf file
# Optional parameters
Parameter | Description |
---|---|
from | Date from |
to | Date to |
invoices | List of invoice IDs (array) |
client_id | Limit invoices output to single client id |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getInvoicesPDF
# PHP Samples
# Response
{
"success": true,
"invoices": {
"3": "JVBERi0xLjQ4gPDhj ... cmVmCjI5ODAwCiUlRU9G",
"4": "JVBERi0xLjQ4gPDhj ... cCiUlRLjQ4gPCiUlRU9G"
},
"call": "getInvoicesPDF",
"server_time": 1351873458
}