{ "data": { "id": 42, "date": 1492012745, "company": { "name": "myCompany", "address": "here", "city": "Notfar", "postalCode": 123456 }, "customer": { "name": "myCustomer", "address": "there", "city": "Faraway", "postalCode": 654321 }, "products": [ { "name": "product 1", "priceUnit": 0.1, "quantity": 10, "priceTotal": 1 }, { "name": "product 2", "priceUnit": 0.2, "quantity": 20, "priceTotal": 4 }, { "name": "product 3", "priceUnit": 0.3, "quantity": 30, "priceTotal": 9 } ], "total": 14 }, "convertTo":"pdf" }