# Invoice Operations related to invoice, including create, get, etc ## Create an Invoice - [POST /Invoice](https://developer.dealpos.com/openapi/openapi/invoice/createinvoice.md): Create an Invoice You must have "Create" role in "Sell" Module ## Update an Invoice - [PUT /Invoice](https://developer.dealpos.com/openapi/openapi/invoice/updateinvoice.md): Update an Invoices based on Number You must have "EDIT" role in "Orders" Module OR "EDIT" role in "Global" Module ## Delete an Invoice - [DELETE /Invoice](https://developer.dealpos.com/openapi/openapi/invoice/deleteinvoice.md): Delete an Invoice based on Number You must have "DELETE" role in "Orders" Module ## List Invoice Multiple Outlet - [GET /Invoice/MultipleOutlet](https://developer.dealpos.com/openapi/openapi/invoice/getinvoicelistmultipleoutlet.md): >Also available as HTTP POST with the same endpoint Get Invoice List by Multiple Outlet ## List Invoice Multiple Outlet With Variant - [GET /Invoice/MultipleOutlet/WithVariant](https://developer.dealpos.com/openapi/openapi/invoice/getinvoicelistmultipleoutletwithvariants.md): Get Invoice List by Multiple Outlet With Variant ## List Invoice Multiple Outlet With Total Count - [GET /Invoice/MultipleOutlet/WithTotalCount](https://developer.dealpos.com/openapi/openapi/invoice/getinvoicelistmultipleoutletwithtotalcount.md): >Also available as HTTP POST with the same endpoint Get Invoice List by Multiple Outlet with Total Count ## List Invoices Return - [GET /Invoice/Return](https://developer.dealpos.com/openapi/openapi/invoice/listinvoicesreturn.md): >Also available as HTTP POST (endpoint: /api/v3/Invoice/p) Get List of Invoices Return Required Group Role: "Orders" - "View" ## List Invoice With Total Count - [GET /Invoice/WithTotalCount](https://developer.dealpos.com/openapi/openapi/invoice/getinvoicelistwithtotalcount.md): >Also available as HTTP POST with the same endpoints List Invoices with Total Count Required Group Role: "Orders" - "View" ## Get List Invoice ID - [GET /Invoice/ListID](https://developer.dealpos.com/openapi/openapi/invoice/getlistidinvoice.md): >Also available as HTTP POST with the same endpoint Get List Invoice ID based on date range and outlet. Required Group Role: Orders - View ## Get List Invoice ID by Key Set - [GET /Invoice/ListIDByKeyset](https://developer.dealpos.com/openapi/openapi/invoice/getlistidinvoicebykeyset.md): Get List Invoice ID based on date range and last seen invoice ID. Required Group Role: Orders - View ## Get List Invoice By List ID - [GET /Invoice/ListInvoiceByListID](https://developer.dealpos.com/openapi/openapi/invoice/getlistinvoicebylistid.md): Get a list of Invoices based on a list of Invoice IDs Required Group Role: "Orders" - "View" ## Create Multiple Invoice - [POST /Invoice/List](https://developer.dealpos.com/openapi/openapi/invoice/createmultipleinvoice.md): Create Multiples Invoices based on Number. You must have "CREATE" role in "Orders" Module ## Get Invoice By Number - [GET /Invoice/Number](https://developer.dealpos.com/openapi/openapi/invoice/getinvoicebynumber.md): >Also available as HTTP POST with the same endpoint Get an Invoice based on Number Required Group Role: "Orders" - "View" ## Get Invoice By ID - [GET /Invoice/ID](https://developer.dealpos.com/openapi/openapi/invoice/getinvoicebyid.md): >Also available as HTTP POST with the same endpoint Get an Invoice based on Invoice ID Required Group Role: "Orders" - "View" ## Get Invoice ID By Number - [GET /Invoice/IDByNumber](https://developer.dealpos.com/openapi/openapi/invoice/getinvoiceidbynumber.md): >Also available as HTTP POST with the same endpoint Get Invoice ID by Number to check that available in POS Required Group Role: "Orders" - "View" ## Send Receipt By Email - [POST /Invoice/SendReceiptByEmail](https://developer.dealpos.com/openapi/openapi/invoice/sendreceiptbyemail.md): Send Receipt to customer by email You must have "View" role in "Orders" Module ## Invoice Count - [GET /Invoice/GetCountMultipleOutlet](https://developer.dealpos.com/openapi/openapi/invoice/getcountmultipleoutlet.md): Count total invoice with multiple outlet >Also available as HTTP POST with the same endpoint ## List Invoice by Number - [GET /Invoice/GetByListNumber](https://developer.dealpos.com/openapi/openapi/invoice/getbylistnumber.md): >Also available as HTTP POST with the same endpoint Get List Invoices By Number Required Group Role: "Orders" - "View" ## List Invoice Multiple Outlet and Payment - [GET /Invoice/MultipleOutletNPayment](https://developer.dealpos.com/openapi/openapi/invoice/getinvoicemultipleoutletnpayment.md): >Also available as HTTP POST with the same endpoint Get Invoice List by Multiple Outlet and Payment ## Void Invoice - [PUT /Invoice/Void](https://developer.dealpos.com/openapi/openapi/invoice/voidinvoice.md): Void Invoice to recycle bin You must have "EDIT" role in "Sell" Module OR "VoidInvoice" role in "Orders" Module ## Restore Invoice - [PUT /Invoice/Restore](https://developer.dealpos.com/openapi/openapi/invoice/restoreinvoice.md): Restore Invoice from recycle bin You must have "EDIT" role in "Sell" Module OR "EDIT" role in "Global" Module ## Erase Invoice - [DELETE /Invoice/Erase](https://developer.dealpos.com/openapi/openapi/invoice/invoice-erase.md): > Please keep in mind that erased Invoice cannot be restored Permanently Delete Invoice if its already on Recycle Bin You must have "DELETE" role in "ORDER" Module OR "DELETE" role in "Global" Module ## List Join Invoice - [GET /Invoice/Join](https://developer.dealpos.com/openapi/openapi/invoice/getjoininvoicelist.md): Get List of Join Invoice Required Group Role: "Debt" - "View" ## List Join Invoice with Total Count - [GET /Invoice/Join/TotalCount](https://developer.dealpos.com/openapi/openapi/invoice/getjoininvoicelisttotalcount.md): Get List of Join Invoice with Total Count Required Group Role: "Debt" - "View" ## Join Invoice Detail - [GET /Invoice/Join/Detail/{id}](https://developer.dealpos.com/openapi/openapi/invoice/getjoininvoicedetail.md): Get Join Invoice Detail based on ID Join Invoice. Required Group Role: "Debt" - "View" ## Get Reference Number By Invoice ID - [GET /Invoice/GetReferenceNumber](https://developer.dealpos.com/openapi/openapi/invoice/get-invoice-getreferencenumber.md): Get List Reference Number by Invoice ID ## Update Note in Invoice - [PUT /Invoice/Note](https://developer.dealpos.com/openapi/openapi/invoice/put-invoice-note.md): Add / edit Invoice note You must have "EDIT" role in "Sell" Modul