Skip to Content
Menu
This question has been flagged

Sending following JSON to create the invoice in oDoo but it is throwing me 500 Internal server error. Please guide me -
{  "AuthToken": "xxxxxxxxxxx==",  "Record": {  "currency_id":[52,"AWG"],"partner_id":[15,"Xavier"], "company_id":[1,"Aruba Airlines"], "account_id":[7,"101200 Account Receivable"],"journal_id":[12,"STJ/2016/0001"],"date":"2016-10-07","invoice_line":[{"origin":false,"account_analytic_id":false,"account_id":[3,"101000 Current Assets"],"price_unit":2.0,"name":"Board","partner_id":[15,"Xavier"],"product_id":[3,"Board"],"discount":0.0,"quantity":2.0,"company_id":[1,"Aruba Airlines"]}]  }}

Avatar
Discard
Related Posts Replies Views Activity
3
Feb 24
1586
2
Sep 21
9719
0
May 16
2372
2
Feb 22
2455
1
Jan 22
2815