# Sales Return

## Get Sale Invoice :- LOGIC API PULL - SALE RETURN <a href="#heading" id="heading"></a>

This API is used to fetch Sale Bill Return detail from LOGIC

### **Authorization Detail**

| Name          | Detail                                              |
| ------------- | --------------------------------------------------- |
| End Point     | <http://demo.logicerp.com/api/GetSaleReturnInvoice> |
| Request Type  | POST                                                |
| Authorization | Basic Auth                                          |
| Username      | Demo                                                |
| Password      | 1                                                   |

### **Request**

```
 
{
    "GlobalModifyCode": 0,
    "Doc_Codes": "",
    "DateFrom":  null,
    "DateTo":  null,
    "Branch_Codes_From": ""
}
                 
```

### **Response**

```

{
    "GetData": [
        {
            "Vouch_Code": 3,
            "Bill_No": "ESR-1",
            "New_Bill_No": "24-25/2/ESR-1",
            "Bill_Date": "01/04/2024",
            "Bill_Time": "01/04/2024 06:15 PM",
            "Account_Code": "2765",
            "Account_Name": "Ankita P    -Mumbai",
            "Customer_Code": "2765",
            "Customer_Name": "Ankita P   -Mumbai",
            "Agent_Name": "NIL",
            "Quantity": 10.0,
            "Gross_Amount": 12990.0,
            "Net_Amount": 14549.0,
            "Total_Tax": "1558.8",
            "Branch_Name": "WAREHOUSE",
            "Branch_Code": 2,
            "Currency_Name": "0",
            "Tax_Region_Name": "0",
            "Action_Code": "N",
            "Type": "SR",
            "Branch_Short_Name": "MOD01",
            "Doc_Prefix": "ESR",
            "Doc_Number": 1,
            "RCU_Membership_Series": "",
            "RCU_Membership_Number": 0,
            "Retail_Cust_Name": "NIL NIL NIL",
            "Retail_Cust_Mobile_No": "0",
            "Retail_Cust_Email_ID": "",
            "SO_Order_No": "",
            "SO_Order_Date": "",
            "SO_Party_Order_No": "",
            "SO_Party_Order_Date": "",
            "Credit_Note_Bill_Amount": 14549.0,
            "Gr_Number": "",
            "Gr_Date": "",
            "Order_No": "",
            "Order_Date": "",
            "Remarks1": "",
            "Cases": "",
            "Transport_Mode": "",
            "DNParty_Name": "",
            "CNParty_Name": "",
            "DISPParty_Name": "",
            "HANDParty_Name": "",
            "POSTParty_Name": "",
            "DN_Desc": "",
            "CN_Desc": "",
            "Display_Desc": "",
            "Challan_Date": "",
            "Challan_no": "",
            "DD_Chq": "",
            "DD_Chq_No": "",
            "DD_Chq_Amt": 0.0,
            "GR_Number_2": "",
            "GR_Date_2": "",
            "Issue_Time": "",
            "Removal_Time": "",
            "Trans_Name": "",
            "Remarks2": "",
            "Remarks3": "",
            "Credit_Note_Amount": 0.0,
            "ST_Branch_Code": 0,
            "RCU_Create_Date": "",
            "Credit_Amount": 14549.0000,
            "Cash_Amount": 0.0,
            "Gift_Voucher_Amount": 0.0,
            "Discount_Coupon_No": "",
            "Discount_Coupon_Amt": 0.0,
            "Bill_Cancelled": false,
            "GST_EInvoice_IRN_No": "",
            "GST_EInvoice_QR_Image": "",
            "GST_EInvoice_Acknowledgement_No": "",
            "GST_EInvoice_Acknowledgement_Date": null,
            "GST_EWay_Bill_No": null,
            "GST_EWay_Bill_Date": null,
            "InvoicePDFLink": null,
            "TCS_Act_Name": "",
            "TCS_Percent": 0.0,
            "TCS_Amount": 0.0,
            "Credit_Card_Amount": 0.0,
            "ListCreditCard": [],
            "LstItems": [
                {
                    "SL_Txn_Code": 0,
                    "Lot_Code": 0,
                    "Lot_Number": "",
                    "AddlItemCode": "LG0006",
                    "LogicUser_Code": "LG0006",
                    "PackName": "3XL",
                    "ItemName": "",
                    "ItemDescription_1": "",
                    "ColorName": "",
                    "CompanyName": "",
                    "CF_1": 0.0,
                    "CF_2": 0.0,
                    "CF_3": 0.0,
                    "Weight": 0.0,
                    "Item_Sale_Rate": 0.0,
                    "Item_Sp_Rate_1": 0.0,
                    "Item_Sp_Rate_2": 0.0,
                    "Item_Sp_Rate_3": 0.0,
                    "Item_Sp_Rate_4": 0.0,
                    "Item_Sp_Rate_5": 0.0,
                    "Item_Pur_Rate": 0.0,
                    "Item_MRP": 1299.0,
                    "HSN_Code": "6205",
                    "Quantity": 10.0,
                    "Lot_MRP": 1299.0,
                    "Rate": 1299.0,
                    "Tax_Amt_1": 0.0,
                    "Tax_Amt_3": 0.0,
                    "MRP_SaleBill": 0.0,
                    "Gross_Amt": 0.0,
                    "Net_Amt": 0.0,
                    "Round_Amt": 0.0,
                    "Net_Rate": 0.0,
                    "Sale_Amt": 0.0,
                    "CD": 0.0,
                    "TD": 0.0,
                    "SP_CD": 0.0,
                    "Scheme_Unit": 0.0,
                    "Scheme_Rs": 0.0,
                    "CD_Per": 0.0,
                    "TD_Per": 0.0,
                    "SP_CD_Per": 0.0,
                    "Sale_Or_SR": "",
                    "Lot_Sale_Rate": 0.0,
                    "Lot_Pur_Rate": 1000.0,
                    "Lot_Basic_Rate": 1000.0,
                    "Lot_SP_Rate1": 1000.0,
                    "Lot_SP_Rate2": 1000.0,
                    "Lot_SP_Rate3": 0.0,
                    "Lot_SP_Rate4": 0.0,
                    "Lot_SP_Rate5": 0.0,
                    "SO_Item_Order_ID": "",
                    "Tax_Amt_2": 0.0,
                    "Tax3WithoutSur": 0.0,
                    "Surcharge": 0.0,
                    "ExciseUnit": 0.0,
                    "AdjustPerUnit": 0.0,
                    "AdjustItem": 0.0,
                    "Freight": 0.0,
                    "AdjustmentRupees": 0.0,
                    "SPDiscount": 0.0,
                    "DebitNote": 0.0,
                    "CreditNote": 0.0,
                    "Display": 0.0,
                    "Handling": 0.0,
                    "Postage": 0.0,
                    "ExcisePercentage": 0.0,
                    "Labour": 0.0,
                    "RRate": 0.0,
                    "Tax_1": 0.0,
                    "Tax_2": 0.0,
                    "Tax_3": 0.0,
                    "Agent_Name": "",
                    "Agent_ShortName": "",
                    "Item_Group_Name_1": "",
                    "Lot_Sup_Code": "",
                    "Lot_Sup_Name": "",
                    "Lot_Bill_No": "",
                    "Lot_Purchase_Date": "",
                    "Lot_Expiry_Date": "",
                    "Lot_Mfg_Date": "",
                    "Scheme_Campaign_Group_Name": "",
                    "Scheme_Campaign_Name": "",
                    "Godown_Name": "",
                    "ListOtherAgents": []
                }
            ]
        }
    ],
    "Status": true,
    "Message": "",
    "LastGlobalModifyCode": 5207
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/api-documentation/sale/pull/sales-return.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
