Skip to content

DualEntry Public API (1.0.0)

Download OpenAPI description
Languages
Servers
Mock server
https://docs.dualentry.com/_mock/resources/
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

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

List RecurringJournalEntry records

Request

Retrieve a paginated list of RecurringJournalEntry records with filtering and ordering options.

Query
searchstring or null(Search)
company_idArray of integers or null(Company Id)
numberArray of integers or null(Number)
recurring_typeArray of strings or null(Recurring Type)
Enum"automatic""reminder"
limitinteger(Limit)>= 1
Default 100
offsetinteger(Offset)>= 0
Default 0
curl -i -X GET \
  'https://docs.dualentry.com/_mock/resources/public/v1/recurring/journal-entries/?search=string&company_id=0&number=0&recurring_type=automatic&limit=100&offset=0'

Responses

OK

Bodyapplication/json
itemsArray of objects(Items)required
items[].​numberinteger(Number)required
items[].​namestring(Name)required
items[].​memostring(Memo)required
items[].​datestring(date)(Date)required
items[].​company_idinteger(Company Id)required
items[].​company_namestring(Company Name)required
items[].​company_currencystring(Company Currency)required
items[].​statusstring(RecurringStatus)required
Enum"active""inactive"
items[].​record_payloadany(Record Payload)required
items[].​rrulestring(Rrule)required
items[].​next_occurrencestring or null(date-time)(Next Occurrence)required
items[].​last_generatedstring or null(date-time)(Last Generated)required
items[].​recurring_typestring(RecurringType)required
Enum"automatic""reminder"
items[].​recordsArray of objects(Records)required
items[].​records[].​numberinteger(Number)required
items[].​records[].​datestring(date)(Date)required
items[].​records[].​amountAmount (number) or Amount (string)(Amount)required
Any of:
number(Amount)
items[].​records[].​record_statusstring(RecordStatus)required
Enum"draft""posted""archived"
countinteger(Count)required
Response
application/json
{ "items": [ { … } ], "count": 0 }

Create RecurringJournalEntry record

Request

Create a new Recurring record with the provided data. Validates all required fields and business rules.

Bodyapplication/jsonrequired
rrulestring(rrule)(Rrule)[ 8 .. 500 ] characters^FREQ=(DAILY|WEEKLY|MONTHLY|YEARLY)(?:;.*)?$required

Recurrence rule in iCalendar RRULE format (RFC 5545)

memostring(Memo)required
namestring(Name)required
datestring(date)(Date)required
company_idinteger(Company Id)required
statusstring(RecurringStatus)required
Enum"active""inactive"
recurring_typestring(RecurringType)required
Enum"automatic""reminder"
record_payloadobject(PublicJournalEntrySchemaCreateIn)required
record_payload.​itemsArray of objects(Items)required
record_payload.​items[].​idinteger or null(Id)
record_payload.​items[].​account_numberinteger(Account Number)required
record_payload.​items[].​debitDebit (number) or Debit (string)(Debit)required
Any of:
number(Debit)
record_payload.​items[].​creditCredit (number) or Credit (string)(Credit)required
Any of:
number(Credit)
record_payload.​items[].​positioninteger(Position)required
record_payload.​items[].​memostring(Memo)required
record_payload.​items[].​classificationsArray of objects(Classifications)
Default []
record_payload.​items[].​currencystring or null(SystemCurrencies)
Enum"AED""AFN""ALL""AMD""ANG""AOA""ARS""AUD""AWG""AZN"
record_payload.​company_idinteger(Company Id)required
record_payload.​memostring(Memo)required
record_payload.​datestring(date)(Date)required
record_payload.​reversal_datestring or null(date)(Reversal Date)
record_payload.​attachmentsArray of objects(Attachments)
Default []
record_payload.​currency_iso_4217_codestring(SystemCurrencies)required
Enum"AED""AFN""ALL""AMD""ANG""AOA""ARS""AUD""AWG""AZN"
record_payload.​exchange_rateExchange Rate (number) or Exchange Rate (string)(Exchange Rate)required
Any of:
number(Exchange Rate)
record_payload.​record_statusstring(RecordStatus)
Default "posted"
Enum"draft""posted""archived"
curl -i -X POST \
  https://docs.dualentry.com/_mock/resources/public/v1/recurring/journal-entries/ \
  -H 'Content-Type: application/json' \
  -d '{
    "rrule": "FREQ=DAILY",
    "memo": "string",
    "name": "string",
    "date": "2019-08-24",
    "company_id": 0,
    "status": "active",
    "recurring_type": "automatic",
    "record_payload": {
      "items": [
        {
          "id": 0,
          "account_number": 0,
          "debit": 0,
          "credit": 0,
          "position": 0,
          "memo": "string",
          "classifications": [],
          "currency": "AED"
        }
      ],
      "company_id": 0,
      "memo": "string",
      "date": "2019-08-24",
      "reversal_date": "2019-08-24",
      "attachments": [],
      "currency_iso_4217_code": "AED",
      "exchange_rate": 0,
      "record_status": "posted"
    }
  }'

Responses

OK

Bodyapplication/json
numberinteger(Number)required
namestring(Name)required
memostring(Memo)required
datestring(date)(Date)required
company_idinteger(Company Id)required
company_namestring(Company Name)required
company_currencystring(Company Currency)required
statusstring(RecurringStatus)required
Enum"active""inactive"
record_payloadany(Record Payload)required
rrulestring(Rrule)required
next_occurrencestring or null(date-time)(Next Occurrence)required
last_generatedstring or null(date-time)(Last Generated)required
recurring_typestring(RecurringType)required
Enum"automatic""reminder"
recordsArray of objects(Records)required
records[].​numberinteger(Number)required
records[].​datestring(date)(Date)required
records[].​amountAmount (number) or Amount (string)(Amount)required
Any of:
number(Amount)
records[].​record_statusstring(RecordStatus)required
Enum"draft""posted""archived"
Response
application/json
{ "number": 0, "name": "string", "memo": "string", "date": "2019-08-24", "company_id": 0, "company_name": "string", "company_currency": "string", "status": "active", "record_payload": null, "rrule": "string", "next_occurrence": "2019-08-24T14:15:22Z", "last_generated": "2019-08-24T14:15:22Z", "recurring_type": "automatic", "records": [ { … } ] }

Get RecurringJournalEntry record

Request

Retrieve a specific Recurring record by number with all related data.

Path
record_numberinteger(Record Number)required
Query
searchstring or null(Search)
company_idArray of integers or null(Company Id)
numberArray of integers or null(Number)
recurring_typeArray of strings or null(Recurring Type)
Enum"automatic""reminder"
curl -i -X GET \
  'https://docs.dualentry.com/_mock/resources/public/v1/recurring/journal-entries/{record_number}/?search=string&company_id=0&number=0&recurring_type=automatic'

Responses

OK

Bodyapplication/json
numberinteger(Number)required
namestring(Name)required
memostring(Memo)required
datestring(date)(Date)required
company_idinteger(Company Id)required
company_namestring(Company Name)required
company_currencystring(Company Currency)required
statusstring(RecurringStatus)required
Enum"active""inactive"
record_payloadany(Record Payload)required
rrulestring(Rrule)required
next_occurrencestring or null(date-time)(Next Occurrence)required
last_generatedstring or null(date-time)(Last Generated)required
recurring_typestring(RecurringType)required
Enum"automatic""reminder"
recordsArray of objects(Records)required
records[].​numberinteger(Number)required
records[].​datestring(date)(Date)required
records[].​amountAmount (number) or Amount (string)(Amount)required
Any of:
number(Amount)
records[].​record_statusstring(RecordStatus)required
Enum"draft""posted""archived"
Response
application/json
{ "number": 0, "name": "string", "memo": "string", "date": "2019-08-24", "company_id": 0, "company_name": "string", "company_currency": "string", "status": "active", "record_payload": null, "rrule": "string", "next_occurrence": "2019-08-24T14:15:22Z", "last_generated": "2019-08-24T14:15:22Z", "recurring_type": "automatic", "records": [ { … } ] }

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

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 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

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