Digits
App · 20 actions
Read company information, ledger accounts, transactions, invoices, bills, and financial statements.
Actions
| Action | What it does |
|---|---|
| Get balance sheet | Balance Sheet. |
| Get company | Get Company Info. |
| Get department | Get Department. |
| Get ledger category | Get Category. |
| Get ledger party | Get Party. |
| Get location | Get Location. |
| Get organization | Get Organization. |
| Get profit and loss statement | Profit and Loss. |
| Get project | Get Project. |
| Get transaction | Get Transaction. |
| Get trial balance | Trial Balance. |
| List departments | List Departments. |
| List entities | List Entities. |
| List ledger categories | List Categories. |
| List ledger entries | List Entries. |
| List ledger parties | List Parties. |
| List locations | List Locations. |
| List projects | List Projects. |
| Query bills | Query Bills. |
| Query invoices | Query Invoices. |
Get balance sheet
Balance Sheet.
Inputs
- Start date
start_datedate - The start date of the statement period (inclusive)
- End date
end_datedate - The end date of the statement period (inclusive)
- Interval
intervaltext - The interval for the statement (e.g., Month, Quarter, Year)One of:
Month,Year,Quarter. - Fiscal year start month
fiscal_year_start_monthnumber - Optional the fiscal year start month (1 = January, 12 = December) defaults to January if not provided
- Department IDs
department_idslist - Optional department identifiers to filter statement totals.
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"rows": []
}
}Get company
Get Company Info.
Inputs
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"currency": "example",
"earliestTransaction": "example",
"fiscalYearStartMonth": "example",
"id": "example",
"name": "example",
"slug": "example"
}
}Get department
Get Department.
Inputs
- Id
idtextRequired - id.
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"department": {
"active": false,
"description": "example",
"id": {
"id": "example",
"issuer": "example"
},
"name": "example",
"parentId": "example"
}
}
}Get ledger category
Get Category.
Inputs
- Id
idtextRequired - id.
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"active": false,
"createdAt": "example",
"displayNumber": "example",
"id": "example",
"name": "example",
"parentId": "example",
"subtype": "UnknownSubtype",
"type": "UnknownType",
"updatedAt": "example"
}
}Get ledger party
Get Party.
Inputs
- Id
idtextRequired - id.
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"party": {
"createdAt": "example",
"description": "example",
"email": "example",
"id": {
"id": "example",
"issuer": "example"
},
"kind": "UnknownKind",
"name": "example",
"roles": [],
"updatedAt": "example"
}
}
}Get location
Get Location.
Inputs
- Id
idtextRequired - id.
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"location": {
"id": {
"id": "example",
"issuer": "example"
},
"name": "example",
"parentId": "example"
}
}
}Get organization
Get Organization.
Inputs
None.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"displayId": "example",
"externalId": "example",
"id": "example",
"name": "example"
}
}Get profit and loss statement
Profit and Loss.
Inputs
- Start date
start_datedate - The start date of the statement period (inclusive)
- End date
end_datedate - The end date of the statement period (inclusive)
- Interval
intervaltext - The interval for the statement (e.g., Month, Quarter, Year)One of:
Month,Year,Quarter. - Fiscal year start month
fiscal_year_start_monthnumber - Optional the fiscal year start month (1 = January, 12 = December) defaults to January if not provided
- Department IDs
department_idslist - Optional department identifiers to filter statement totals.
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"rows": []
}
}Get project
Get Project.
Inputs
- Id
idtextRequired - id.
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"project": {
"id": {
"id": "example",
"issuer": "example"
}
}
}
}Get transaction
Get Transaction.
Inputs
- Id
idtextRequired - The digits ledger transaction id
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"transaction": {
"amount": {
"amount": 1.0,
"code": "example"
},
"bill": {
"billDate": "example",
"dueDate": "example",
"id": "example",
"invoiceNumber": "example"
},
"date": "example",
"entries": [],
"invoice": {
"dueDate": "example",
"id": "example",
"invoiceDate": "example",
"invoiceNumber": "example"
},
"memo": "example",
"referenceNumber": "example",
"sources": [],
"transactionId": "example",
"transactionType": "Unknown"
}
}
}Get trial balance
Trial Balance.
Inputs
- Start date
start_datedate - The start date of the statement period (inclusive)
- End date
end_datedate - The end date of the statement period (inclusive)
- Interval
intervaltext - The interval for the statement (e.g., Month, Quarter, Year)One of:
Month,Year,Quarter. - Fiscal year start month
fiscal_year_start_monthnumber - Optional the fiscal year start month (1 = January, 12 = December) defaults to January if not provided
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"rows": []
}
}List departments
List Departments.
Inputs
- Active
activetrue/false - Filter by activity. Omitted returns all departments.
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"departments": []
}
}List entities
List Entities.
Inputs
- Limit
limitnumber - The number of items to return per request. Default and max size is 100.
- Cursor
cursortext - Cursor for pagination.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"entities": [],
"next": {
"cursor": "example",
"more": false
}
}
}List ledger categories
List Categories.
Inputs
- Created before
created_beforedate and time - Filter to categories created before this timestamp
- Created after
created_afterdate and time - Filter to categories created after this timestamp
- Updated before
updated_beforedate and time - Filter to categories updated before this timestamp
- Updated after
updated_afterdate and time - Filter to categories updated after this timestamp
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"categories": []
}
}List ledger entries
List Entries.
Inputs
- Occurred before
occurred_beforedate and time - OccurredBefore filters entries to those that occurred before this timestamp
- Occurred after
occurred_afterdate and time - OccurredAfter filters entries to those that occurred after this timestamp
- Minimum amount
minimum_amountnumber - Filters entries to those that exceed the specified minimum amount Double formatted for compatibility, only the integer component is used.
- Maximum amount
maximum_amountnumber - Filters entries to those that are below the specified maximum amount Double formatted for compatibility, only the integer component is used.
- Currency code
currency_codetext - Currency code. USD-only.
- Limit
limitnumber - The number of items to return per request. Default and max size is 100.
- Cursor
cursortext - Cursor for pagination
- Created before
created_beforedate and time - Filter to entries created before this timestamp
- Created after
created_afterdate and time - Filter to entries created after this timestamp
- Updated before
updated_beforedate and time - Filter to entries updated before this timestamp
- Updated after
updated_afterdate and time - Filter to entries updated after this timestamp
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"entryDetails": [],
"next": {
"cursor": "example",
"more": false
}
}
}List ledger parties
List Parties.
Inputs
- Name
nametext - Optional, case-insensitive name filter
- Kinds
kindslist - Party kinds to include, empty returns all kindsOne or more of:
UnknownKind,Person,Business. - Roles
roleslist - Filter by accounting role. Parties must match at least one requested role and all other supplied filters. Omit to include parties regardless of role. UnknownRole and unrecognized values are not accepted. Vendors span multiple accounting roles; include all vendor-related roles to retrieve the full vendor list.One or more of:
UnknownRole,EntityVendorRole,EntityCustomerRole,EntitySupplierRole,EntityUnspecifiedRole,InstitutionDebitRole,InstitutionCreditRole,PaymentProcessorRole,FacilitatorRole,OwnerRole, and 18 more. - Limit
limitnumber - The number of items to return per request. Default and max size is 100.
- Cursor
cursortext - Cursor for pagination
- Created before
created_beforedate and time - Filter to parties created before this timestamp
- Created after
created_afterdate and time - Filter to parties created after this timestamp
- Updated before
updated_beforedate and time - Filter to parties updated before this timestamp
- Updated after
updated_afterdate and time - Filter to parties updated after this timestamp
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"next": {
"cursor": "example",
"more": false
},
"parties": []
}
}List locations
List Locations.
Inputs
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"locations": []
}
}List projects
List Projects.
Inputs
- Entity
entity_idtext - Entity's Digits-assigned ID, obtained from entity discovery. Required unless external_id is supplied or the token already identifies the entity.
- Entity external ID
entity_external_idtext - Entity's caller-assigned ID in the authorizing organization's namespace. Alternative to id for organization-level tokens; not a source or transaction ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"projects": []
}
}Query bills
Query Bills.
Inputs
- Filters
filtersobject - Values within each ID list use OR; different fields use AND. Balances include all activity in the published view.
- Limit
limitnumber - Default and maximum page size is 100.
- Cursor
cursortext - Continuations retain the published view and require unchanged filters.
- Entity
entity_idtext - Entity ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"next": {
"cursor": "example",
"more": false
},
"summaries": []
}
}Query invoices
Query Invoices.
Inputs
- Filters
filtersobject - Values within each ID list use OR; different fields use AND. Balances include all activity in the published view.
- Limit
limitnumber - Default and maximum page size is 100.
- Cursor
cursortext - Continuations retain the published view and require unchanged filters.
- Entity
entity_idtext - Entity ID.
Outputs
dataobject- The response from Digits.
Example output
{
"data": {
"next": {
"cursor": "example",
"more": false
},
"summaries": []
}
}