ruby-freshbooks
ruby-freshbooks copied to clipboard
Updating the script to account for due date
Hi There,
The latest API from freshbooks is able to accept due date via the due offset days field. Is there a way you can update this script to include that field or tell me how I can do that myself? I tried adding this line ":due_offset_days => '30'" but it doesn't work.
https://www.freshbooks.com/api/invoices
"invoice": { "status": "2", "invoice_number": "IV-1160", "customerid": "167034", "create_date": "2019-01-01", "due_offset_days": "30", "discount_value": 10,