# Create Account

## Create Party Account:- LOGIC API PUSH - ACCOUNT MASTER <a href="#heading" id="heading"></a>

This API is used to create the account in LOGIC

**Using this API, the following Account type can be created**

| **Account type** | **Short Name** |
| ---------------- | -------------- |
| Fixed Assets :   | FS             |
| Income :         | IN             |
| Income Tax :     | IT             |
| Manufacturing :  | MF             |
| Opening stock :  | OP             |
| Profit & Loss :  | PL             |
| Purchase :       | PU             |
| Sale :           | SL             |
| Supplier :       | SU             |
| Trading :        | TD             |

### **Authorization Detail**

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

### **Request**

```
               
{
    "Account_Name":"Demo-Supplier",
    "PrintAccountName":"Demo-Supplier",
    "Account_Type": "SU",
    "AddlAccountUserCode": "99004488",
    "Opening_Balance": 0.0,
    "User_Code": "99004488",
    "Group_Name": "",
    "BS_Grp1": "",
    "BS_Grp2": "",
    "New_BS_Grp": "",
    "Group_Name1": "",
    "Group_Name2": "",
    "Group_Name3": "",
    "Group_Name4": "",
    "Group_Name5": "",
    "Group_Name6": "",
    "Group_Name7": "",
    "Group_Name8": "",
    "Use_As_Cust_Supp_Both":0,
    "Cust_Sup_Details": {
        "First_Add1": "",
        "First_Add2": "",
        "First_Add3": "",
        "First_Pincode": "",
        "First_CityName": "",
        "First_Location": "",
        "First_Location_Code": 0,
        "Second_Add1": "",
        "Second_Add2": "",
        "Second_Add3": "",
        "Second_PinCode": "",
        "Second_CityName": "",
        "Second_Location": "",
        "Second_Location_Code": 0,
        "Telephone_Off": "",
        "Telephone_Res": "",
        "Fax_No": "",
        "Mobile_No": "",
        "Email_Address": "",
        "Trans_Name": "",
        "Dest_Code": 0,
        "Cst_No": "",
        "Lst_No": "",
        "Cst_Date": "",
        "Lst_Date": "",
        "Give_CForm":false,
        "Bank_Name": "",
        "Bank_Add1": "",
        "Bank_add2": "",
        "Remarks_1": "",
        "Remarks_2": "",
        "Remarks_3": "",
        "Drug_Lisc_No1": "",
        "Drug_Lisc_No2": "",
        "Less_Cd":false,
        "Add_Octroi":false,
        "Allow_CD":false,
        "Allow_Slab_CD":false,
        "Octroi_P": 0.0,
        "Credit_Limit": 0.0,
        "Bill_Limit": 0.0,
        "Add_P": 0.0,
        "StockTrans":false,
        "ExportImportParty":false,
        "StopBilling":false,
        "STBranchName": "",
        "STBranchCode":0,
        "Comm_P": 0.0,
        "PAN_No": "",
        "TIN_No": "",
        "Service_Tax_No": "",
        "First_State_Name": "",
        "First_Country_Name": "",
        "Second_State_Name": "",
        "Second_Country_Name": "",
        "Final_Dest_Code":0,
        "Designation": "",
        "BuyerReference": "",
        "SupplierNo": "",
        "RegistrationNo": "",
        "BookingFormat": "",
        "AcdFormat": "",
        "DaysForBooking": "",
        "BuyingAgent_Name": "",
        "ForwardingAgent_Name": "",
        "SSI_No": "",
        "SSE_No": "",
        "Credit_Limit_Variance": 0.0,
        "Security_Amount": 0.0,
        "Extra_Str_1": "",
        "Extra_Str_2": "",
        "LockSchPerUnit":false,
        "LockSchRs":false,
        "LockAdjustItemRs":false,
        "BranchName": "",
        "Bank_Guarantee_Date": "",
        "OverDueDaysLimit": 0.0,
        "Allow_TD":false,
        "AgentName": "",
        "Drug_Lisc2_ExpDate": "",
        "Drug_Lisc1_ExpDate": "",
        "GST_Date": "",
        "GST_No": "",
        "GST_StateCode": "",
        "ECommGST_Party":false,
        "ECommGST_No": "",
        "Aadhaar_No": "",
        "GST_Reverse_Charge":false,
        "GST_Reg_Type":0,
        "WebsiteAddress": "",
        "Drug_Lisc_No3": "",
        "Drug_Lisc3_ExpDate": "",
        "FoodLicNo": "",
        "CIN_No": "",
        "MSME_Type":"None",
        "MSME_No": "",
        "Contact_Person": ""
    },
    "FixedAssetDetails": {
        "OriginalCost": 0.0,
        "DateOfPurchase": "",
        "AdditionsToDate": 0.0,
        "DeductionsToDate": 0.0,
        "DepreciationPercent": 0.0,
        "ModeOfDepreciation": "",
        "DepAfterHalfYear": 0.0,
        "DepCalcMode":0,
        "DepCompaniesAct": 0.0,
        "DepAmountToDate": 0.0
    },
    "AccountExciseDetails": {
        "Excise_Sale_Nature":0,
        "Collector_": "",
        "Division_": "",
        "Range_": "",
        "Ecc_Number": "",
        "Excise_Registeration_No": "",
        "CE_Registeration_No": ""
    },
    "CaptialDetails": {
        "Captial_Type": "",
        "Interest_On_Captial": 0.0,
        "Profit_Share": 0.0,
        "Authorized_Shares": 0.0,
        "Authorized_Rates": 0.0,
        "Issued_Shares": 0.0,
        "Issued_Rates": 0.0,
        "Pending_Allotment": 0.0,
        "Interest_On_Drawings": 0.0,
        "Salary_pa": 0.0 
    },
    "BankDetails": {
        "Bank_Address_1": "",
        "Bank_Address_2": "",
        "Bank_City_Name": "",
        "Bank_Swift_Code": "",
        "Bank_Account_No": "",
        "Bank_Gst_No": "",
        "Bank_Gst_Date": "",
        "Bank_Gst_State_Code": "",
        "Bank_IFSC_Code": "" 
    },
    "ListCustomFields": [
        {
            "FieldName": "ADD1",
            "FieldValue_1": "MALLIKARJUN S/O MALLANNA, WADAGERA,YADGIR",
            "FieldValue_2": null,
        },
        {
            "FieldName": "BANK_NAME",
            "FieldValue_1": "STATE BANK OF INDIA",
            "FieldValue_2": null,
        },
        {
            "FieldName": "ACCOUNT_NO",
            "FieldValue_1": "35120836164",
            "FieldValue_2": null,
        },
        {
            "FieldName": "BANK_ADDRESS",
            "FieldValue_1": "KHANAPUR",
            "FieldValue_2": null,
        },
        {
            "FieldName": "IFSC",
            "FieldValue_1": "SBIN0020129",
            "FieldValue_2": null,
        }
    ]    
}

```

| Name             | Type     | Length | Mandatory |
| ---------------- | -------- | ------ | --------- |
| Account\_Name    | nvarchar | 100    | yes       |
| Account\_Type    | nvarchar | 2      | yes       |
| Opening\_Balance | money    | -      | -         |
| User\_Code       | nvarchar | 20     | yes       |
| Group\_Name      | nvarchar | 80     | -         |
| BS\_Grp1         | nvarchar | -      | -         |
| BS\_Grp2         | nvarchar | -      | -         |
| New\_BS\_Grp     | nvarchar | -      | -         |
| Group\_Name1     | nvarchar | 80     | -         |
| Group\_Name2     | nvarchar | 80     | -         |
| Group\_Name3     | nvarchar | 80     | -         |
| Group\_Name4     | nvarchar | 80     | -         |
| Group\_Name5     | nvarchar | 80     | -         |
| Group\_Name6     | nvarchar | 80     | -         |
| Group\_Name7     | nvarchar | 80     | -         |
| Group\_Name8     | nvarchar | 80     | -         |
| FieldName        | nvarchar | 50     | -         |
| FieldValue\_1    | nvarchar | 50     | -         |
| FieldValue\_2    | nvarchar | 50     | -         |

**Response**

```

{
    "AccountName": null,
    "AccountCode": "99004488",
    "Status": true,
    "Message": "",
    "LastSavedCode": 551
}

```


---

# 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/masters/push/create-account.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.
