Create accountCopy Pagepost https://api.wafeq.com/v1/accounts/Endpoint for creating a new account.Body Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializationsaccount_codestringrequiredlength ≤ 30The unique code identifying this account.account_typestringenumThe type of the account. ACCOUNTS_RECEIVABLE - Accounts Receivable CASH_ADVANCES - Cash Advances CASH_EQUIVALENTS - Cash and Cash Equivalents EMPLOYEE_ADVANCE - Employee Advance INVENTORY - Inventory OTHER_CURRENT_ASSETS - Other Current Assets PREPAID_EXPENSES - Prepaid Expenses ACCUMULATED_DEPRECIATION - Accumulated Depreciation INTANGIBLE_ASSETS - Intangible Assets OTHER_NON_CURRENT_ASSETS - Other Non-Current Assets PROPERTY_PLANT_AND_EQUIPMENT - Property, Plant and Equipment ACCOUNTS_PAYABLE - Accounts Payable ACCRUED_EXPENSES - Accrued Expenses OTHER_CURRENT_LIABILITIES - Other Current Liabilities PAYROLL_PAYABLE - Payroll Payable SHORT_TERM_LOANS_PAYABLE - Short-Term Loans Payable TAX_PAYABLE - Tax Payable UNEARNED_REVENUE - Unearned Revenue VAT - VAT END_OF_SERVICE_BENEFITS - End of Service Benefits LONG_TERM_LOANS_PAYABLE - Long-Term Loans Payable OTHER_NON_CURRENT_LIABILITIES - Other Non-Current Liabilities ISSUED_CAPITAL - Issued Capital OTHER_OWNERS_EQUITY - Other Owners' Equity PAID_IN_CAPITAL - Paid-in Capital SHARE_CAPITAL - Share Capital TREASURY_STOCK - Treasury Stock RETAINED_EARNINGS - Retained Earnings OPENING_BALANCE_EQUITY - Opening Balance Equity OTHER_COMPREHENSIVE_INCOME - Other Comprehensive Income INTEREST_INCOME - Interest Income OTHER_INCOME - Other Income GENERAL_AND_ADMINISTRATIVE_EXPENSES - General and Administrative Expenses MARKETING_EXPENSES - Marketing Expenses OTHER_OPERATING_EXPENSES - Other Operating Expenses RESEARCH_AND_DEVELOPMENT - Research and Development DEPRECIATION_AND_AMORTIZATION - Depreciation and Amortization INTEREST_EXPENSE - Interest Expense OTHER_NON_OPERATING_EXPENSES - Other Non-Operating Expenses REALIZED_EXCHANGE_GAIN_OR_LOSS - Realized Exchange Gain or Loss TAX - Tax UNREALIZED_EXCHANGE_GAIN_OR_LOSS - Unrealized Exchange Gain or Loss ZAKAT - Zakat ACCOUNTS_RECEIVABLECASH_ADVANCESCASH_EQUIVALENTSEMPLOYEE_ADVANCEINVENTORYOTHER_CURRENT_ASSETSPREPAID_EXPENSESACCUMULATED_DEPRECIATIONINTANGIBLE_ASSETSOTHER_NON_CURRENT_ASSETSPROPERTY_PLANT_AND_EQUIPMENTACCOUNTS_PAYABLEACCRUED_EXPENSESOTHER_CURRENT_LIABILITIESPAYROLL_PAYABLESHORT_TERM_LOANS_PAYABLETAX_PAYABLEUNEARNED_REVENUEVATEND_OF_SERVICE_BENEFITSLONG_TERM_LOANS_PAYABLEOTHER_NON_CURRENT_LIABILITIESISSUED_CAPITALOTHER_OWNERS_EQUITYPAID_IN_CAPITALSHARE_CAPITALTREASURY_STOCKRETAINED_EARNINGSOPENING_BALANCE_EQUITYOTHER_COMPREHENSIVE_INCOMEINTEREST_INCOMEOTHER_INCOMEGENERAL_AND_ADMINISTRATIVE_EXPENSESMARKETING_EXPENSESOTHER_OPERATING_EXPENSESRESEARCH_AND_DEVELOPMENTDEPRECIATION_AND_AMORTIZATIONINTEREST_EXPENSEOTHER_NON_OPERATING_EXPENSESREALIZED_EXCHANGE_GAIN_OR_LOSSTAXUNREALIZED_EXCHANGE_GAIN_OR_LOSSZAKATShow 43 enum valuesclassificationstringenumrequiredThe primary classification of the account (e.g. Asset, Liability, Equity, Income, Expense). REVENUE - Revenue EXPENSE - Expense ASSET - Asset LIABILITY - Liability EQUITY - Equity REVENUEEXPENSEASSETLIABILITYEQUITYAllowed:REVENUEEXPENSEASSETLIABILITYEQUITYexternal_idstringlength ≤ 255External identifier for the account.is_payment_enabledbooleanrequiredIndicates whether the account can be used for payments.truefalseis_postingbooleanIndicates whether the account can be used for posting.truefalsename_arstringlength ≤ 200The name of the account in Arabic.name_enstringrequiredThe name of the account in English.parentstring | nullThe parent account, if this is a sub-account.sub_classificationstringenumrequiredThe secondary classification of the account, providing more specific categorization. INCOME - Income COGS - Cost of Sales OPERATING_EXPENSE - Operating Expenses OTHER_INCOME - Other Income NON_OPERATING_EXPENSE - Non-Operating Expenses CASH_EQUIVALENTS - Cash and Cash Equivalents CURRENT_ASSET - Current Assets NON_CURRENT_ASSET - Non-Current Assets FIXED_ASSET - Fixed Asset CURRENT_LIABILITY - Current Liabilities NON_CURRENT_LIABILITY - Non-Current Liabilities PAID_IN_CAPITAL - Paid-in Capital RETAINED_EARNINGS - Retained Earnings ACCUMULATED_OTHER_COMPREHENSIVE_INCOME - Acc. Other Comprehensive Income TREASURY_STOCK - Treasury Stock OWNERS_EQUITY - Owner's Equity OPENING_BALANCE_EQUITY - Opening Balance Equity INCOMECOGSOPERATING_EXPENSEOTHER_INCOMENON_OPERATING_EXPENSECASH_EQUIVALENTSCURRENT_ASSETNON_CURRENT_ASSETFIXED_ASSETCURRENT_LIABILITYNON_CURRENT_LIABILITYPAID_IN_CAPITALRETAINED_EARNINGSACCUMULATED_OTHER_COMPREHENSIVE_INCOMETREASURY_STOCKOWNERS_EQUITYOPENING_BALANCE_EQUITYShow 17 enum valuesHeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestcontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse 201Updated 3 months ago List accountsDelete accountDid this page help you?YesNo