Upbooks API
  1. Account Ledger
Upbooks API
  • Auth
    • Login
      POST
    • RefreshToken
      POST
    • GetAuthUser
      GET
    • GetLoginLogs
      GET
    • GetLoginSessions
      GET
    • GetOrganizationLoginSessions
      GET
    • ForgotPasswordByEmail
      POST
    • UpdatePassword
      POST
    • ChangePassword
      POST
    • UpdateProfile
      PUT
    • VerifyEmailToken
      POST
    • UpdateSelectedOrgDetails
      PATCH
  • Account Ledger
    • GetAllAccountLedgers
      GET
    • RecordAccountLedgerAdjustment
      POST
    • FixAccountLedger
      POST
    • FixAllAccountLedger
      POST
  • Activity Log
    • GetActivityLogs
      GET
    • GetAllActivityLogs
      GET
  • Announcement
    • GetAnnouncementList
      GET
    • AddAnnouncement
      POST
    • GetActiveAnnouncements
      GET
    • GetAnnouncementDetail
      GET
    • UpdateAnnouncement
      PUT
  • Asset
    • GetAssetsValue
      GET
    • GetAssets
      GET
    • AddAsset
      POST
    • GetAssetDetail
      GET
    • UpdateAsset
      PUT
    • DeleteAsset
      DELETE
    • FileImport
      POST
  • Sales
    • GetTotalRevenue
    • GetTotalReceivables
    • GetTotalInwardPayment
    • GetTotalOverDuePayment
    • SalesRatio
    • GetGrowthByMonth
    • GetGrowthByQuarter
    • GetGrowthByYear
    • GetSnapshotReceivables
    • GetSalesByInvoiceTypes
    • GetIncomeByInvoiceTypes
    • GetGstInvoices
    • GetRecurringInvoices
    • GetClientsAcquired
    • GetSalesByMonthGraph
    • GetSalesByYearGraph
    • GetSalesByProductGraph
    • GetSalesByServiceGraph
    • GetSalesByClientGraph
    • GetSalesByCountryGraph
    • GetSalesByUserGraph
    • GetRevenueBySource
    • GetSalesByRegionGraph
  • Client
    • GetClients
    • AddClient
    • GetClientDetail
    • UpdateClient
    • DeleteClient
    • StatementOfAccount
    • LedgerSyncStatus
    • FixStatementOfAccount
    • GetOutstandingReceivables
    • GetTotalBilling
    • UpdateBillingAddress
    • UpdateShippingAddress
    • FileImport
    • GetPrefferedPayment
    • GetPrefferedAcccount
  • Client Ledger
    • RecordClientLedgerAdjustment
  • CreditNote
    • GetCreditNoteList
    • AddCreditNote
    • GetNextCreditNoteNumber
    • GetCreditNoteDetail
    • UpdateCreditNote
    • SendCreditNoteEmail
    • CancelCreditNote
    • UpdateCreditNoteNumber
    • GenerateCreditNote
  • Cron-jobs
    • JobRunner
  • Currency Conversion
    • GetCurrencyRatesData
  • Document
    • GetAllDocumentsOfOrganiztion
    • DeleteFile
  • Discount
    • GetAllDiscounts
    • AddDiscount
    • GetDiscountDetail
    • UpdateDiscount
    • DeleteDiscount
  • Employee
    • GetEmployeesByMonth
    • GetEmployees
    • AddEmployee
    • GetEmployeeDetail
    • UpdateEmployee
    • DeleteEmployee
    • FileImport
    • UpdateSalaryComponent
    • UpdateFileUrl
    • UpdateInvoiceNumber
    • PrepareSalaryComponents
    • UpdateEmployeeName
    • UpdateEmployeeEmail
    • UpdateEmployeePhone
    • UpdateEmployeeDob
    • UpdateEmployeeLocation
    • UpdateEmployeePanNumber
    • UpdateEmployeeAdharNumber
    • UpdateEmployeeEsiNumber
    • UpdateEmployeeEpsNumber
    • UpdateEmployeeUanNumber
    • UpdateEmployeePfNumber
    • UpdateEmployeeCountry
    • UpdateEmployeeBankAccountDetails
    • UpdateEmployeeCurrentAddress
    • UpdateEmployeePermanentAddress
    • LinkUser
    • UpdateEmployeeDocumentInfo
    • UpdateEmployeeProfilePicture
  • Email
    • SendEmail
  • Expense
    • GetMostSpentOn
    • GetTotalRevenue
    • GetExpenseList
    • AddExpense
    • GetExpenseDetail
    • UpdateExpense
    • DeleteExpense
    • UpdateExpenseRecurring
    • UpdateFileUrl
    • FileImport
  • File
    • UploadFile
    • AddFile
  • Hr
    • GetTotalPayroll
    • GetLeastleave
    • GetMostleave
    • GetAssetsValue
    • GetEmployeesByMonth
    • GetEsiEnrolledEmployees
    • GetPfEnrolledEmployees
    • EmployeesLeftByMonth
    • EmployeesByComponentGroup
  • Inventory Ledger
    • GetAllInventoryLedgers
    • RecordInventoryAdjustment
  • Invoice
    • GetInvoiceList
    • AddInvoiceSystemGenerated
    • GetNextInvoiceNumber
    • GetInvoiceDetail
    • UpdateInvoice
    • DeleteInvoice
    • AddInvoiceManual
    • SendInvoiceEmail
    • CancelInvoice
    • UpdateInvoiceNumber
    • UpdateInvoiceRecurring
    • MarkInvoiceAsPaid
    • GenerateInvoice
    • FileImport
  • Item
    • GetAllItems
    • GetItemDetail
    • UpdateItem
  • Organization
    • GetOrganizations
    • AddOrganization
    • UpdateOrganization
    • GetOrganizationDetail
    • DeleteOrganization
    • UpdateOrganizationBusinessProfile
    • ExtendSubscription
    • UpdateGSTDetails
    • UpdateVATDetails
    • UpdateInvoiceOnOrderSetting
    • UpdateReminderSetting
    • UpdateInvoiceSettings
    • UpdatePurchaseOrderSettings
    • UpdateProposalSettings
    • UpdatePreferences
    • GetOrganizationPreferences
    • UpdatePaymentSettings
    • UpdateDefaultPaymentSettings
    • UpdateLogo
    • UpdateFromEmail
    • OrganizationDeactive
    • GetOrganizationSubscriptions
    • GetOrganizationDashboardView
    • GetOrganizationDashboardSnapshot
    • GetSnapshotReceivables
    • DeleteSelectiveData
    • DeletePermanent
    • GetClientCountries
    • GetVendorCountries
    • GetLeadCountries
    • InviteUsers
    • AcceptInvitation
    • UpdatePlatformCredits
    • UpdateCreditNoteSettings
    • UpdateDebitNoteSettings
  • Order
    • GetAllOrder
    • AddOrder
    • GetNextOrderNumber
    • GetOrderItems
    • GetPastDayOrders
    • GetOrderDetail
    • UpdateOrder
    • DeleteOrder
    • CancelOrder
    • CalculateOrderTotal
    • UpdateFileUrl
    • UpdateOrderStatusToDraft
    • FileImport
  • Outward Payment
    • GetAllOutwardPayment
    • AddOutwardPayment
    • GetOutwardPaymentDetail
    • UpdateOutwardPayment
    • DeleteOutwardPayment
    • FileImport
    • UpdateFileUrl
  • Operations
    • GetTotalProjects
    • GetTotalProjectsMultiple
    • GetTotalProjectsBudget
    • GetAllProjectsByClients
    • GetAllProjectsByBudgets
    • GetTasksPrioritySnapshots
    • GetTasksSnapshotGraph
    • GetProjectTaskList
    • GetTasksByProjectList
    • GetTasksList
    • GetProjectsByBudget
  • Payment
    • GetAllPayment
    • AddPayment
    • GetPastDayPayments
    • GetPaymentDetail
    • UpdatePayment
    • DeletePayment
    • GeneratePayment
    • SendPaymentEmail
    • FileImport
    • UpdateFileUrl
  • Product
    • GetProductList
    • AddProduct
    • GetProductDetail
    • UpdateProduct
    • DeleteProduct
    • FileImport
  • Proposal
    • GetAllProposal
    • AddProposal
    • GetNextProposalNumber
    • GetProposalDetail
    • UpdateProposal
    • DeleteProposal
    • CalculateProposalTotal
    • GenerateProposal
  • Platform Plan
    • GetAllPlatformPlans
    • AddPlatformPlan
    • GetPlatformPlanDetail
    • UpdatePlatformPlan
    • DeletePlatformPlan
  • Platform Subscription
    • GetAllPlatformSubscriptions
    • AddPlatformPayment
  • Platform Payment
    • GetAllPlatformPayments
    • GetPlatformPaymentDetail
    • CancelPlatformPayment
  • ProductCategory
    • GetAllProductCategories
    • AddProductCategory
    • GetProductCategoryDetail
    • UpdateProductCategory
    • DeleteProductCategory
  • Purchase Order
    • GetOrderItems
    • GetAllPurchaseOrder
    • AddPurchaseOrder
    • GetNextPurchaseOrderNumber
    • GetPurchaseOrderDetail
    • UpdatePurchaseOrder
    • DeletePurchaseOrder
    • CalculatePurchaseOrderTotal
    • GeneratePurchaseOrder
  • Purchase
    • GetMostSpentOn
    • GetTotalExpense
    • GetTotalOutwardPayment
    • GetExpenseByTypeGraph
    • GetGstExpenses
    • GetUnpaidExpenses
    • GetOutwardPayments
    • GetExpenseBreakdownByVendorGraph
    • GetExpenseBreakdownByTypeGraph
    • GetExpenseWithoutReciepts
  • Recurring Expense
    • GetAllRecurringExpenses
    • GetRecurringExpenseDetail
    • UpdateRecurringExpenseStatus
    • UpdateRecurringExpenseNextDue
  • Recurring Invoice
    • GetAllRecurringInvoices
    • GetRecurringInvoiceDetail
    • UpdateRecurringInvoiceStatus
    • DeleteRecurringInvoice
    • UpdateRecurringInvoiceNextDue
  • Report
    • GetSalesByClient
    • GetSalesByProduct
    • GetSalesByProductCategory
    • GetSalesByService
    • GetSalesByMonth
    • GetSalesByYear
    • GetSalesByQuarter
    • GetSalesByCountry
    • GetTaxSummary
    • GetInvoiceDetailReport
    • GetExpensesByMonth
    • GetProfitAndLossReportV2
    • GetBalanceSheetReport
    • GetTrialBalanceReport
    • GetGeneralLedger
    • GetSalesByHsn
    • GetTaxesByMonth
    • GetOtherSales
  • Routes
    • GetRoutes
    • AddRoute
    • GetRouteDetail
    • UpdateRoute
    • DeleteRoute
  • Settlement
    • GetAllSettlements
    • GetAllSettlementsSuperadmin
    • GetSettlementDetail
  • Services
    • GetAllServices
    • AddServices
    • GetServicesDetail
    • UpdateServices
    • DeleteServices
    • FileImport
  • Tax
    • GetAllTaxes
    • AddTax
    • GetTaxDetail
    • UpdateTax
    • DeleteTax
    • FileImport
  • Trip
    • GetTrips
    • AddTrip
    • GetTripDetail
    • UpdateTrip
    • DeleteTrip
  • User
    • GetUser
    • GetUserDetail
    • UpdateUser
    • DeleteUser
    • AddUserOnboarding
    • GetOrganizationByUser
    • UpdateEmailOfUser
    • UpdateImageOfUser
    • RemoveUserOrganization
    • UpdateOrganizationActive
  • User Invites
    • GetUserInviteList
    • CancelUserInvite
  • Vendor
    • GetAllVendors
    • AddVendor
    • GetVendorDetail
    • UpdateVendor
    • DeleteVendor
    • GetOutstandingPayables
    • GetTotalBilling
    • StatementOfAccount
    • LedgerSyncStatus
    • FixStatementOfAccount
    • FileImport
  • Vendor Ledger
    • RecordVendorLedgerAdjustment
  • Projects
    • GetAllProjects
    • AddProject
    • GetProjectDetail
    • UpdateProjects
    • DeleteProject
    • FileImport
    • UpdateProjectIcon
    • UpdateProjectStatus
    • UpdateProjectArchiveStatus
  • Pre Sales
    • GetLeadsBySource
    • GetLeadsByMonthGraph
    • GetRecentEnquires
  • Task
    • Get
    • Add
    • GetQuickFilters
    • GetNextTaskNumber
    • GetSingle
    • Update
    • Delete
    • UpdateStatus
    • UpdateSortOrder
    • UpdatePriority
    • UpdateTitle
    • UpdateSummary
    • UpdateLabels
    • UpdateReporter
    • UpdateAssignee
    • UpdateAttachments
    • FileImport
  • Payroll
    • GetTotalPayroll
    • GetAllPayroll
    • AddPayroll
    • PrepareEmployeePayroll
    • GetSinglePayroll
    • UpdatePayroll
    • DeletePayroll
    • GeneratePayroll
    • FileImport
  • Account
    • Get
    • AddAccount
    • GetSingle
    • Update
    • Delete
    • FileImport
    • LedgerSyncStatus
    • CloseBooks
  • Enquiry
    • GetAllEnquiries
    • AddEnquiry
    • GetEnquiryDetail
    • UpdateEnquiry
    • DeleteExpense
  • Account Transfer
    • GetAccountTransfers
    • AddAccountTransfer
    • GetAccountTransferDetail
    • DeleteAccountTransfer
    • FileImport
  • File Import
    • Get
  • File Import Error
    • GetFileImportErrorList
  • Brand
    • GetAllBrands
    • AddBrand
    • GetBrandListPublic
    • GetBrandDetail
    • UpdateBrand
    • DeleteBrand
  • Salary Component
    • GetAllSalaryComponents
    • AddSalaryComponent
    • GetSalaryComponent
    • UpdateSalaryComponent
    • DeleteSalaryComponent
  • Leaves Configuration
    • CreateLeave
    • GetLeaves
    • DeleteLeave
    • UpdateLeave
    • GetLeave
  • Tax Calendar
    • CreateTaxCalendar
    • GetTaxCalendar
    • DeleteTaxCalendar
    • UpdateTaxCalendar
    • GetLeave
  • Contract
    • CreateContract
    • GetContract
    • DeleteContract
    • UpdateContract
    • GetLeave
  • GST-Reports
    • GetReportB2B
    • GetReportB2cl
    • GetReportB2cs
    • GetReportExports
    • GetGstSummary
    • ExportJsonGst1
  • Organization Backup
    • GetAllBackups
    • AddOrganizationBackup
  • Bank Account
    • AddBankAccount
    • GetAllBankAccounts
    • GetBankAccountDetail
    • UpdateBankAccount
    • DeleteBankAccount
    • FileImport
  • Leave Policy
    • GetAllBankAccounts
    • AddLeavePolicy
    • GetLeavePolicyDetail
    • UpdateLeavePolicy
    • DeleteLeavePolicy
  • Leave Application
    • GetMostleave
    • GetLeastleave
    • GetAllLeaveApplications
    • AddLeaveApplication
    • GetLeaveApplicationDetail
    • DeleteLeaveApplication
    • UpdateLeaveApplication
    • GetEmployeeLeaveSummary
    • UpdateLeaveApplicationStatus
    • UpdateLeaveApplicationStatusFromEmail
  • Backup Restore
    • AddBackupRestore
    • GetAllBackupRestores
  • Finance
    • GetGstReceivableTotal
    • GetGstReceivable
    • GetGstPayableTotal
    • GetGstPayable
    • GetAccountBalance
    • GetLastAccountDebited
    • GetAccountTransferSummary
    • GetRecentTransfer
    • GetCreditedAmounts
    • GetDebitedAmounts
    • GetGstBills
    • GetAccountAnalysisGraph
  • Email-Rule
    • GetEmailRules
    • AddEmailRule
    • UpdateEmailRule
    • DeleteEmailRule
  • Widget
    • GetWidgets
  • User Dashboard
    • GetUserDashboards
    • Add
    • Update
  • ExpenseCategory
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Lead
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
    • LeadToClient
    • FileImport
  • LeadActivity
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Deal
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • DebitNote
    • GetDebitNoteList
    • AddDebitNote
    • GetNextDebitNoteNumber
    • GetDebitNoteDetail
    • UpdateDebitNote
    • SendDebitNoteEmail
    • CancelDebitNote
    • UpdateDebitNoteNumber
    • GenerateDebitNote
  • SpendCategory
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • SpendPolicy
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Employee Spend
    • GetAllEmployeeSpends
    • AddEmployeeSpend
    • GetEmployeeSpendDetail
    • DeleteEmployeeSpend
    • UpdateEmployeeSpend
  • Warehouse
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Branch
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  1. Account Ledger

GetAllAccountLedgers

GET
https://api.upbooks.io/api/v1/account-ledger
Account Ledger

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
accountId
string 
optional
fromDate
string <date-time>
optional
toDate
string <date-time>
optional
searchText
string 
optional
paymentId
string 
optional
outwardPaymentId
string 
optional
transferId
string 
optional
expenseId
string 
optional
invoiceId
string 
optional
clientId
string 
optional
vendorId
string 
optional
employeeId
string 
optional
creditNoteId
string 
optional
payrollId
string 
optional
debitNoteId
string 
optional
Header Params
pageNo
number <double>
optional
pageSize
number <double>
optional
sortBy
string 
optional
Default:
date
sortOrder
number <double>
optional
Default:
1
ORGANIZATION-ID
string 
optional
OrganizationId of your registered business on upbooks
Example:
000000

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.upbooks.io/api/v1/account-ledger?accountId&fromDate&toDate&searchText&paymentId&outwardPaymentId&transferId&expenseId&invoiceId&clientId&vendorId&employeeId&creditNoteId&payrollId&debitNoteId' \
--header 'pageNo;' \
--header 'pageSize;' \
--header 'sortBy;' \
--header 'sortOrder;' \
--header 'ORGANIZATION-ID: 000000'

Responses

🟢200Ok
application/json
Body
data
array[object (IAccountLedgerDocumentJSON) {25}] 
required
createdAt
string <date-time>
required
updatedAt
string <date-time>
required
__v
number <double>
optional
_id
string 
required
organizationId
string 
required
type
enum<string> 
required
Allowed values:
creditdebitadjustment
metadata
object (IAccountLedgerMetaData) 
optional
account
object (ICommonAccount) 
required
user
optional
balance
object 
required
adjusted
object 
required
payment
object  | null 
optional
transfer
object  | null 
optional
expense
object  | null 
optional
invoice
object  | null 
optional
creditNote
optional
date
string <date-time>
required
dateTime
string <date-time>
required
financialYear
string  | null 
optional
reason
string  | null 
optional
files
array[string] | null 
optional
client
optional
vendor
optional
employee
optional
payroll
optional
totalCount
number <double>
optional
filteredCount
number <double>
optional
message
string 
optional
Example
{
    "data": [
        {
            "createdAt": "2019-08-24T14:15:22Z",
            "updatedAt": "2019-08-24T14:15:22Z",
            "__v": 0,
            "_id": "string",
            "organizationId": "string",
            "type": "credit",
            "metadata": {
                "isFYClosingEntry": true
            },
            "account": {
                "id": "string",
                "title": "string",
                "type": "cash",
                "subType": "gst-receivable",
                "category": "asset",
                "subCategory": "current-assets",
                "bankAccount": {
                    "id": "string",
                    "bankAccountNumber": "string",
                    "title": "string"
                },
                "defaultCurrency": {
                    "name": "string",
                    "symbol": "string"
                },
                "naturalBalance": "credit"
            },
            "user": {
                "id": "string",
                "name": "string",
                "email": "string",
                "organizations": [
                    {
                        "organizationHashId": "string",
                        "organizationId": "string",
                        "role": "organization-admin",
                        "teams": [
                            "admin"
                        ],
                        "organizationName": "string",
                        "organizationLogo": "string",
                        "isActive": true
                    }
                ]
            },
            "balance": {
                "currency": {
                    "name": "string",
                    "symbol": "string"
                },
                "amount": 0
            },
            "adjusted": {
                "currencyConversionRate": {
                    "USD": 0,
                    "EUR": 0,
                    "GBP": 0,
                    "INR": 0,
                    "AUD": 0,
                    "SGD": 0,
                    "CAD": 0,
                    "JPY": 0,
                    "CNY": 0,
                    "SAR": 0,
                    "AED": 0
                },
                "amount": 0,
                "currency": {
                    "name": "string",
                    "symbol": "string"
                }
            },
            "payment": {
                "isAdvance": true,
                "paymentNumber": "string",
                "currency": {
                    "name": "string",
                    "symbol": "string"
                },
                "amount": 0,
                "id": "string"
            },
            "transfer": {
                "account": {
                    "id": "string",
                    "title": "string",
                    "type": "cash",
                    "subType": "gst-receivable",
                    "category": "asset",
                    "subCategory": "current-assets",
                    "bankAccount": {
                        "id": "string",
                        "bankAccountNumber": "string",
                        "title": "string"
                    },
                    "defaultCurrency": {
                        "name": "string",
                        "symbol": "string"
                    },
                    "naturalBalance": "credit"
                },
                "date": "2019-08-24T14:15:22Z",
                "currency": {
                    "name": "string",
                    "symbol": "string"
                },
                "amount": 0,
                "id": "string"
            },
            "expense": {
                "date": "2019-08-24T14:15:22Z",
                "currency": {
                    "name": "string",
                    "symbol": "string"
                },
                "amount": 0,
                "expenseNumber": "string",
                "id": "string"
            },
            "invoice": {
                "date": "2019-08-24T14:15:22Z",
                "currency": {
                    "name": "string",
                    "symbol": "string"
                },
                "amount": 0,
                "invoiceNumber": "string",
                "id": "string"
            },
            "creditNote": {
                "id": "string",
                "creditNoteNumber": "string",
                "finalAmount": 0,
                "currency": {
                    "name": "string",
                    "symbol": "string"
                },
                "date": "2019-08-24T14:15:22Z"
            },
            "date": "2019-08-24T14:15:22Z",
            "dateTime": "2019-08-24T14:15:22Z",
            "financialYear": "string",
            "reason": "string",
            "files": [
                "string"
            ],
            "client": {
                "id": "string",
                "name": "string",
                "clientType": "business",
                "billingAddress": {
                    "locationName": "string",
                    "street1": "string",
                    "street2": "string",
                    "pincode": "string",
                    "city": "string",
                    "state": "string",
                    "country": "string"
                },
                "contacts": [
                    {
                        "isPrimary": true,
                        "salutation": "Mr.",
                        "firstName": "string",
                        "lastName": "string",
                        "email": "string",
                        "workPhone": "string",
                        "mobilePhone": "string",
                        "designation": "string",
                        "department": "string"
                    }
                ],
                "shippingAddress": {
                    "locationName": "string",
                    "street1": "string",
                    "street2": "string",
                    "pincode": "string",
                    "city": "string",
                    "state": "string",
                    "country": "string"
                },
                "tax": {
                    "taxTreatment": "GST",
                    "taxNumber": "string",
                    "taxes": [
                        {
                            "id": "string",
                            "name": "string",
                            "percentage": 0
                        }
                    ]
                }
            },
            "vendor": {
                "id": "string",
                "name": "string",
                "address": {
                    "locationName": "string",
                    "street1": "string",
                    "street2": "string",
                    "pincode": "string",
                    "city": "string",
                    "state": "string",
                    "country": "string"
                },
                "contacts": [
                    {
                        "isPrimary": true,
                        "salutation": "Mr.",
                        "firstName": "string",
                        "lastName": "string",
                        "email": "string",
                        "workPhone": "string",
                        "mobilePhone": "string",
                        "designation": "string",
                        "department": "string"
                    }
                ],
                "tax": {
                    "taxTreatment": "GST",
                    "taxNumber": "string",
                    "taxes": [
                        {
                            "id": "string",
                            "name": "string",
                            "percentage": 0
                        }
                    ]
                }
            },
            "employee": {
                "id": "string",
                "name": "string",
                "employeeNumber": "string",
                "email": "string",
                "phone": "string",
                "type": "full-time",
                "employment": [
                    {
                        "id": "string",
                        "isCurrent": true,
                        "dateOfJoining": "2019-08-24T14:15:22Z",
                        "dateOfLeaving": "2019-08-24T14:15:22Z",
                        "specialSchemes": [
                            {
                                "enabled": true,
                                "name": "ESI"
                            }
                        ],
                        "salary": {
                            "componentGroup": {
                                "id": "string",
                                "groupName": "string",
                                "salaryCalculationMode": "month-days",
                                "sandwichLeaves": true
                            },
                            "type": "hourly",
                            "ctc": 0,
                            "gross": 0,
                            "net": 0,
                            "currency": {
                                "name": "string",
                                "symbol": "string"
                            },
                            "components": [
                                {
                                    "name": "string",
                                    "code": "BASIC",
                                    "type": "EARNINGS",
                                    "isTaxable": true,
                                    "isAttendanceBased": true,
                                    "isIncludedInCTC": true,
                                    "isActive": true,
                                    "_id": "string",
                                    "value": {
                                        "amount": 0,
                                        "currency": {
                                            "name": "string",
                                            "symbol": "string"
                                        }
                                    },
                                    "formula": "string",
                                    "custom": true,
                                    "salaryComponentId": "string",
                                    "amount": 0
                                }
                            ]
                        },
                        "designation": "string",
                        "role": "string",
                        "supervisor": {},
                        "leavePolicies": [
                            {
                                "id": "string",
                                "name": "string",
                                "leaves": [
                                    {
                                        "type": "string",
                                        "probationPeriod": 0,
                                        "noOfLeaves": 0,
                                        "monthlyLimit": 0
                                    }
                                ]
                            }
                        ],
                        "spendPolicies": [
                            {
                                "id": "string",
                                "title": "string"
                            }
                        ]
                    }
                ]
            },
            "payroll": {
                "id": "string"
            }
        }
    ],
    "totalCount": 0,
    "filteredCount": 0,
    "message": "string"
}
🟢200Success
Previous
UpdateSelectedOrgDetails
Next
RecordAccountLedgerAdjustment
Built with