# Bill Operations related to bill, including create, get, etc ## Create a Bill - [POST /api/v3/Bill](https://developer.dealpos.com/openapi/openapi/bill/createbill.md): Create a supplier bill. Requires one of the following roles: "CREATE" in the "Buy" module or "EDIT" in the "Global" module. ## Update a Bill - [PUT /api/v3/Bill](https://developer.dealpos.com/openapi/openapi/bill/updatebill.md): Update a supplier bill by number. Requires one of the following roles: "EDIT" in the "Orders" module or "EDIT" in the "Global" module. ## List Bills - [GET /api/v3/Bill](https://developer.dealpos.com/openapi/openapi/bill/listbills.md): List supplier bills filtered by outlet and date range. Requires the "SupplierBill" role in the "Orders" module. ## Delete a Bill - [DELETE /api/v3/Bill](https://developer.dealpos.com/openapi/openapi/bill/deletebill.md): Delete a supplier bill by outlet and number. Requires the "DELETE" role in the "Buy" module. ## Get a Bill By Number - [GET /api/v3/Bill/Number](https://developer.dealpos.com/openapi/openapi/bill/getbillbynumber.md): Get a supplier bill detail by bill number. Requires the "SupplierBill" role in the "Orders" Module. ## Get a Bill by - [GET /api/v3/Bill/Detail](https://developer.dealpos.com/openapi/openapi/bill/get-bill-by.md): Get supplier bill details by bill ID or number. Requires the "SupplierBill" role in the "Orders" module. ## List Bills With Total Count - [GET /api/v3/Bill/WithTotalCount](https://developer.dealpos.com/openapi/openapi/bill/listbillwithtotalcount.md): Get a list of supplier bills with total count, filterable by outlet and date range. Requires the "SupplierBill" role in the "Orders" Module. ## Bill Count - [POST /api/v3/Bill/GetCountMultipleOutlet](https://developer.dealpos.com/openapi/openapi/bill/getcountmultipleoutlets.md): Count total bills across multiple outlets for a given date range. Supports optional filters such as payment state, delivery state, and bin. ## Get a Bill by ID - [GET /api/v3/Bill/ID](https://developer.dealpos.com/openapi/openapi/bill/get-bill-id.md): Get a supplier bill detail by bill ID. Requires the "SupplierBill" role in the "Orders" Module. ## Join Bill Detail - [GET /api/v3/Bill/Join/Detail/{id}](https://developer.dealpos.com/openapi/openapi/bill/getjoinbilldetail.md): Get join bill details by join bill ID. Requires the "Debt" - "View" group. ## List Join Bill - [GET /api/v3/Bill/Join](https://developer.dealpos.com/openapi/openapi/bill/getjoinbilllist.md): Get a list of join bills. Requires the "Debt" - "View" group. ## List Join Bill with Total Count - [GET /api/v3/Bill/Join/TotalCount](https://developer.dealpos.com/openapi/openapi/bill/getjoinbilllisttotalcount.md): Get a list of join bills with total count. Requires the "Debt" - "View" group.