Sign in to participate
Be Kind, Be Helpful
Ask a question, answer a question, and get to know the fine people in the Harvest community.
Invoice API: Cannot pass csv line items in free_form kind
I am trying to use Harvest Invoice api to create invoices.
API for generating invoice using the project kind is working fine; but if tried with sending the free_form then empty invoice is created without any values.
e.g. -
2008-02-06 4312 free_formkind,description,quantity,unit_price,amount,taxed,taxed2,project_id
Service,Security support / Apply upgrades,0.68,80.00,54.4,true,false,3
Any suggestions or recommendations regarding this would be really helpful!
[SOLVED]
it was a whitespace that was not passing the values to the API
basically correct syntax is
kind,description,quantity,unit_price,amount,taxed,taxed2,project_id
Service,Security support / Apply upgrades,0.68,80.00,54.4,true,false,3
Service,Security support / Intrusion detection,0.57,80.00,45.6,true,false,3
Service,Backend Programming / Forum admin,1.20,80.00,96.0,true,false,3
hope if somebody does copy/paste like me ;) finds this helpful!