Get Receipt for an Expense
To send an Expense you have to build a JSON payload as described here.
You must send the HTTP header:
-
Content-Type: application/pdf
.
The endpoint is GET /sistema-ts/expenses/{ExpenseId}/receipts
.
If everything is fine you will get the PDF of the Receipt.
NOTE: the PDF receipt is provided asynchronously by SistemaTS
, thus it could not be available right after sending the request but after few minutes.
You can configure your own webhook to be updated when the receipt becomes available, more information here
here are the references to the SistemaTS documentation