---
tags: [purchases, service]
module: Purchases
---

# [Service]BillReturnServices

## Connections
[[_Purchases]] · [[[Model]BillReturn]] · [[[Model]PurchaseBill]] · [[[Controller]Controllers]] · [[[Repo]Repositories]] · [[[Cross]CrossModuleDependencies]]

## Source
`Modules/Purchases/Services/BillReturn/`

---

## Services

| Service | Purpose |
|---|---|
| StoringBillReturnService | Create return with inventory updates + journal entries |
| UpdatingBillReturnService | Update return: reverses old JE, recalculates |
| DeletingBillReturnService | Delete return (blocked if has receipts) |
| DeletingBillReturnsWithEntriesService | Delete + full journal entry reversal |
| RetrievingBillReturnService | Single return with outstanding / receipt data |
| BillReturnIndexService | Filtered list with pagination |
| PreparingDataForCreatingBillReturnService | Form data; also checks purchase-returns account active |
| CreatingBillReturnFromBillService | Creates a pre-populated return from a parent PurchaseBill |
| AssignReceiptsToBillReturnService | Link return ↔ receipt with allocated amount |
| UnassigningBillReturnFromReceiptService | Remove return ↔ receipt link |
| SendBillReturnWithToEmailService | Email return PDF |
| GetSuggestedCodeForBillReturnService | Auto-increment return reference code |

## Destination Controllers
`SaveAndClose` · `SaveAndClosePrint` · `SaveAndNew`
