Validate Auto-Invoice Rule
Becoming a super hero is a fairly straight forward process:
Usage
curl -X GET "http://localhost:18881/inv5/v1/client/288/auto_invoice_test?date=2021-03-28" -H "accept: application/json"
Once you're strong enough, save the world:
{
"invoice_next_date": "2021-03-24",
"invoice_cycle_days": [],
"messages": "Client sip_ingress id 288 period 2021-03-23 2021-03-27 success",
"invoice_next_date_of_test": "2021-03-28",
"generated_period": [
{
"start_time": "2021-03-23T00:00:00",
"end_time": "2021-03-27T23:59:59"
}
],
"invoice_cycle": "Every 1st day(s)",
"last_invoice_date": "2021-03-23",
"will_generate": true
}
Last modified 2yr ago