REST API for SALES INVOICE data
GET
View all sales invoices in XML format
https://localhost:3000/{databasename}/sales_invoices.xml?token=123
View all sales invoices in JSON format
https://localhost:3000/{databasename}/sales_invoices.json?token=123
View single sales invoice in XML format
https://localhost:3000/{databasename}/{sales_invoice_id}.xml?token=123
View single sales invoice in JSON format
https://localhost:3000/{databasename}/{sales_invoice_id}.json?token=123
View single sales invoice in PDF format
https://localhost:3000/{databasename}/{sales_invoice_id}.pdf?token=123
UPDATE
Add or update sales invoice with XML from command line
curl -X POST -H "Content-Type: application/xml" -d @sales_invoice.xml https://localhost:3000/{databasename}/sales_invoice?token=123
Add or update sales invoice with JSON from command line
curl -X POST -H "Content-Type: application/xml" -d @sales_invoice.json https://localhost:3000/{databasename}/sales_invoice?token=123
DELETE
Delete sales invoice from command line
curl -X DELETE -H "Content-Type: application/xml" -d @sales_invoice.xml https://localhost:3000/{databasename}/{sales_invoice_id}?token=123