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"]}] }}
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2383
Views