Description
Get a list of invoices for a client.
Parameters
Code Block |
---|
|
client_account_code |
Request
Code Block |
---|
|
curl -X POST \-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \
-H "Content-Type: application/json" \
-d '{"client_account_code":"2144533795"}' \
-k https://your.domain.com/api/users/get_client_invoices |
Response
Code Block |
---|
|
{
"100114": {
"Status": "1",
"Balance_Due": "59.94",
"Days_overdue": 196,
"Invoice_ID": "100114",
"Invoice_Date": "2015-08-15",
"invoice_download": "http://your.domain.com:8000/invoice/generate_invoice/6d410054bbbcb9f43837c0b01fab591a",
"Invoice_Amount": "59.94"
}
}
|
...