ruby-freshbooks icon indicating copy to clipboard operation
ruby-freshbooks copied to clipboard

Updating the script to account for due date

Open linguini-00 opened this issue 3 years ago • 0 comments

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,

linguini-00 avatar Jun 28 '21 23:06 linguini-00