Skip to content
Download OpenAPI description
Languages
Servers
Production environment
https://api.dualentry.com/
Development environment (for testing)
https://api-dev.dualentry.com/

Health

Monitor API availability and service status. Use these endpoints to verify connectivity and check if the API is operational.

Operations

Accounts

Manage your chart of accounts. Create and maintain the accounts used to categorize financial transactions, including assets, liabilities, equity, revenue, and expenses.

Operations

Items

Manage products and services. Define items that appear on invoices and bills, including pricing, descriptions, and associated accounts for revenue or expense tracking.

Operations

Classifications

Manage custom classification dimensions. Create and maintain classification categories (e.g., departments, locations, projects) used to tag and analyze transactions across multiple dimensions.

Operations

Classifications Lines

Manage classification values. Define the specific values within each classification category that can be assigned to transaction line items for detailed reporting and analysis.

Operations

Companies

Access and manage company information. Retrieve details about your organization including legal name, tax identifiers, addresses, and accounting preferences.

Operations

Approval Policies

Manage approval workflows and policies. Define approval rules, steps, conditions, and approvers for different record types. Monitor workflow execution states and view approval history.

Operations

Request

Retrieve a paginated list of workflow execution states (approval statuses for records).

Query
searchstring or null(Search)
workflow_idArray of integers or null(Workflow Id)
statusArray of strings or null(Status)
record_typestring or null(Record Type)
initiator_idArray of integers or null(Initiator Id)
limitinteger(Limit)>= 1

Number of records to return per page (capped at 100)

Default 100
offsetinteger(Offset)>= 0

Number of records to skip before starting to return results

Default 0
curl -i -X GET \
  'https://api.dualentry.com/public/v1/workflows/execution-states/?search=string&workflow_id=0&status=string&record_type=string&initiator_id=0&limit=100&offset=0'

Responses

OK

Bodyapplication/json
itemsArray of objects(Items)required
items[].​idinteger(Id)required
items[].​workflow_idinteger(Workflow Id)required
items[].​workflow_namestring(Workflow Name)required
items[].​record_idinteger(Record Id)required
items[].​record_typestring(Record Type)required
items[].​current_stepinteger(Current Step)required
items[].​current_substepinteger(Current Substep)required
items[].​statusstring(Status)required
items[].​requested_approver_idsArray of integers(Requested Approver Ids)required
items[].​approved_by_idsArray of integers(Approved By Ids)required
items[].​rejected_by_idinteger or null(Rejected By Id)required
items[].​rejection_reasonstring or null(Rejection Reason)required
items[].​initiator_idinteger or null(Initiator Id)required
items[].​created_atstring(date-time)(Created At)required
items[].​updated_atstring(date-time)(Updated At)required
countinteger(Count)required
Response
application/json
{ "items": [ { … } ], "count": 0 }

Request

Retrieve a single workflow execution state by its ID.

Path
state_idinteger(State Id)required
curl -i -X GET \
  'https://api.dualentry.com/public/v1/workflows/execution-states/{state_id}/'

Responses

OK

Bodyapplication/json
idinteger(Id)required
workflow_idinteger(Workflow Id)required
workflow_namestring(Workflow Name)required
record_idinteger(Record Id)required
record_typestring(Record Type)required
current_stepinteger(Current Step)required
current_substepinteger(Current Substep)required
statusstring(Status)required
requested_approver_idsArray of integers(Requested Approver Ids)required
approved_by_idsArray of integers(Approved By Ids)required
rejected_by_idinteger or null(Rejected By Id)required
rejection_reasonstring or null(Rejection Reason)required
initiator_idinteger or null(Initiator Id)required
created_atstring(date-time)(Created At)required
updated_atstring(date-time)(Updated At)required
Response
application/json
{ "id": 0, "workflow_id": 0, "workflow_name": "string", "record_id": 0, "record_type": "string", "current_step": 0, "current_substep": 0, "status": "string", "requested_approver_ids": [ 0 ], "approved_by_ids": [ 0 ], "rejected_by_id": 0, "rejection_reason": "string", "initiator_id": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }

Get approval actions for execution state

Request

Retrieve all approval actions (history) for a specific workflow execution state.

Path
state_idinteger(State Id)required
curl -i -X GET \
  'https://api.dualentry.com/public/v1/workflows/execution-states/{state_id}/actions/'

Responses

OK

Bodyapplication/jsonArray [
idinteger(Id)required
workflow_execution_state_idinteger or null(Workflow Execution State Id)required
record_idinteger(Record Id)required
record_typestring(Record Type)required
approverobject(PublicApproverSchemaOut)required

Schema for approver information.

approver.​idinteger(Id)required
approver.​first_namestring(First Name)required
approver.​last_namestring(Last Name)required
approver.​emailstring(Email)required
action_typestring(Action Type)required
rejection_reasonstring or null(Rejection Reason)required
step_namestring(Step Name)required
step_orderinteger(Step Order)required
substep_orderinteger or null(Substep Order)required
workflow_versioninteger(Workflow Version)required
created_atstring(date-time)(Created At)required
]
Response
application/json
[ { "id": 0, "workflow_execution_state_id": 0, "record_id": 0, "record_type": "string", "approver": { … }, "action_type": "string", "rejection_reason": "string", "step_name": "string", "step_order": 0, "substep_order": 0, "workflow_version": 0, "created_at": "2019-08-24T14:15:22Z" } ]

Inbox

View pending approvals and approval status. Access transactions and records awaiting approval across the organization, including full approval workflow details, approvers, and action history.

Operations

Journal Entries

Create and manage manual journal entries. Record direct debits and credits to accounts for adjustments, accruals, reclassifications, and other accounting transactions.

Operations

Recurring Journal Entries

Automate recurring journal entries. Create templates for journal entries that occur regularly (e.g., monthly depreciation, amortization) to ensure consistent accounting treatment.

Operations

Invoices

Manage sales invoices. Create and track invoices sent to customers for goods or services rendered, including line items, taxes, discounts, and payment status.

Operations

Sales Orders

Create and manage sales orders. Track customer orders for goods or services before invoicing, including line items, quantities, fulfillment status, and invoicing progress.

Operations

Recurring Invoices

Automate recurring billing. Set up and manage templates for invoices that are automatically generated on a regular schedule (e.g., monthly subscriptions).

Operations

Customers

Manage customer records. Create, update, and track customers who purchase goods or services from your organization, including contact information, billing addresses, and payment terms.

Operations

Customer Payments

Record and manage customer payments. Track payments received from customers and apply them to outstanding invoices, including partial payments and overpayments.

Operations

Customer Prepayments

Track advance payments from customers. Access prepayments received before goods or services are delivered, which can be applied to future invoices.

Operations

Customer Prepayment Applications

Apply customer prepayments and credits to invoices. Record applications of prepayments or credit memos to reduce invoice balances.

Operations

Customer Deposits

Manage customer deposit transactions. Record and track deposits received from customers as security or partial payment, held in liability accounts until earned or refunded.

Operations

Customer Refunds

Process and track customer refunds. Record refunds issued to customers for overpayments, returns, or cancelled transactions.

Operations

Customer Credits

Manage credit memos for customers. Issue credits for returned goods, billing adjustments, or discounts that reduce customer balances or can be applied to future invoices.

Operations

Cash Sales

Record immediate cash sales transactions. Track sales where payment is received at the time of sale, including point-of-sale transactions and cash receipts.

Operations

Bills

Manage vendor bills and payables. Record and track bills received from vendors for goods or services purchased, including line items, due dates, and payment tracking.

Operations

Recurring Bills

Automate recurring expenses. Configure templates for bills that repeat on a regular basis (e.g., monthly rent, subscriptions) to streamline expense tracking.

Operations

Purchase Orders

Create and track purchase orders. Manage formal requests to vendors for goods or services, including approval workflows, receiving tracking, and bill matching.

Operations

Vendors

Manage vendor and supplier records. Track businesses and individuals from whom you purchase goods or services, including contact details, payment terms, and tax information.

Operations

Vendor Payments

Record and manage vendor payments. Track payments made to vendors and apply them to outstanding bills and credits, including partial payments and overpayments.

Operations

Vendor Credits

Manage vendor credit memos. Record credits from vendors for returned goods, billing adjustments, or discounts that reduce amounts owed or can be applied to future bills.

Operations

Vendor Refunds

Process and track vendor refunds. Record refunds received from vendors for overpayments, returns, or cancelled transactions.

Operations

Paper Checks

Manage paper check printing. Create, queue, and batch print paper checks for vendor payments, direct expenses, vendor prepayments, and customer refunds.

Operations