method | POST |
endpoint |
Parameters
name | type | required | description |
| text | yes | The ID of the invoice you want to retrieve |
The invoice ID will be the last item in the URL when viewing an invoice
Example Request
curl --location 'https://app.tangoagreements.com/api/1.1/wf/get_invoice' \
--header 'Authorization: Bearer {{api_token}}' \
--form 'invoice_id="123x456"'
Response
{
"id": "123x456",
"proposal": "123x456",
"billed_from": "John Doe's Business",
"billed_to": "Jane Doe's Business",
"currency": "AUD",
"due_date": "2024-03-05T03:39:11.081Z",
"invoice_number": "1",
"paid_date": "2024-03-05T03:38:54.000Z",
"schedule_type": "on acceptance",
"status": "Paid",
"tax_name": "GST",
"tax_percentage": 0.1,
"total_excluding_tax": 15753.25,
"total": 17328.575,
"line_items": [
{
"description": "Hello World!: Instalment 1",
"amount_excluding_tax": 15250,
"tax_amount": 1525,
"total": 16775
}
]
}