Skip to content

Mercury: Books schemas (part 1)

76 Mercury schemas with complete fields and constraints.

← Books operations · All schemas

Categorize or split transactions — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to categorize or split one or more transactions, all or nothing.
Additional keys: not allowed
itemsarrayRequired within parentThe transactions to categorize, from 1 to 100, each at most once. Across all items, the splits may name at most 100 distinct ledgers.
items[]ModelEach itemExpand Categorize or split transactions — request body — body items item

Referenced models: Categorize or split transactions — request body — body items item

Categorize or split transactions — request body — body items item

FieldTypePresenceDescription and constraints
$objectRootThe new categorization of one transaction.
Additional keys: not allowed
journalEntryIdstringRequired within parentThe `journalEntryId` of the transaction to categorize.
Format: base58 (max length 22)
splitsarrayRequired within parentThe new categorization: one split per category. The splits replace every current categorization line.
Minimum items: 1
splits[]ModelEach itemExpand Categorize or split transactions — request body — body items item splits item

Referenced models: Categorize or split transactions — request body — body items item splits item

Categorize or split transactions — request body — body items item splits item

FieldTypePresenceDescription and constraints
$objectRootOne category of a transaction and the part of its amount that goes to it.
Additional keys: not allowed
amountJSONRequired within parent
amount (allOf 1)numberAll variants applyA dollar amount
Format: double
amount (allOf 2)JSONAll variants applyThe signed, nonzero part of the transaction's amount: a number of dollars with at most two decimal places, with the same sign convention as the transaction's `amount`. The splits of a transaction must add up to exactly its `amount`. A split with the opposite sign to the transaction, such as a refund netted against a purchase, posts on the other side.
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the categorization line. Omit to keep the description of the line it replaces, or for a new line, to use the transaction's description.
Format: size < 4001
description (anyOf 2)nullAlternative
ledgerIdstringRequired within parentThe ledger (general ledger account) to categorize this part of the transaction to, such as an expense or revenue account. It must be editable, and must not be an uncategorized ledger or a source account's ledger.
Format: base58 (max length 22)
tagIdsJSONOptional
tagIds (anyOf 1)arrayAlternativeThe tags of the categorization line. Omit to keep the tags of the line it replaces; a new line then has no tags.
tagIds (anyOf 1)[]stringEach itemunique id for a tag; emitted as base-58, but a base-16 UUID is also accepted
Format: base58 (max length 22)
tagIds (anyOf 2)nullAlternative

Categorize or split transactions — response body

FieldTypePresenceDescription and constraints
$objectRootThe categorized transactions, in request order.
itemsarrayRequired within parentOne per request item, in request order.
items[]ModelEach itemExpand Categorize or split transactions — response body — items item

Referenced models: Categorize or split transactions — response body — items item

Categorize or split transactions — response body — items item

FieldTypePresenceDescription and constraints
$objectRootA transaction's categorization after the request.
categorizationLinesarrayRequired within parentThe transaction's categorization lines, as the transaction's `categorizationLines` now list them.
categorizationLines[]ModelEach itemExpand Categorize or split transactions — response body — items item categorization Lines item
journalEntryIdstringRequired within parentThe `journalEntryId` of the transaction.
Format: base58 (max length 22)

Referenced models: Categorize or split transactions — response body — items item categorization Lines item

Categorize or split transactions — response body — items item categorization Lines item

FieldTypePresenceDescription and constraints
$objectRootA line of a transaction's journal entry other than its own line on the
source account's ledger. Its ledger is the transaction's category; a split
transaction has one line per category.
amountJSONRequired within parent
amount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amount (allOf 2)JSONAll variants applyThe unsigned amount of the line, in dollars; `debitCredit` gives its direction.
debitCreditJSONRequired within parent
debitCredit (allOf 1)stringAll variants applyKnown values: debit, credit
debitCredit (allOf 2)JSONAll variants applyWhether the amount is a debit or a credit to the ledger.
ledgerIdstringRequired within parentThe identifier of the ledger (general ledger account) the line posts to, i.e. the category.
Format: base58 (max length 22)
ledgerNamestringRequired within parentThe display name of the ledger the line posts to.
lineEntryIdstringRequired within parentThe identifier of the categorization line entry.
Format: base58 (max length 22)

Referenced models: Create a product — response body — unit Price value

Create a bill (accounts payable) — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request to create a single bill (accounts payable).
Additional keys: not allowed
dueDateJSONRequired within parent
dueDate (allOf 1)stringAll variants applyFormat: date
dueDate (allOf 2)JSONAll variants applyDate the bill is due.
effectiveDateJSONRequired within parent
effectiveDate (allOf 1)stringAll variants applyFormat: date
effectiveDate (allOf 2)JSONAll variants applyEffective date of the bill (e.g. the bill date).
linesarrayRequired within parentLine items for the bill. At least one is required.
Minimum items: 1
lines[]ModelEach itemExpand Create a bill (accounts payable) — request body — body lines item
notesJSONOptional
notes (anyOf 1)stringAlternativeOptional notes or memo for the bill.
notes (anyOf 2)nullAlternative
referenceNumberstringOptionalHuman-readable reference number (e.g. the vendor's bill number). Optional;
an omitted, null, empty, or whitespace-only value is treated as absent, and
leading and trailing whitespace is stripped.
Maximum length: 299
vendorJSONRequired within parent
vendor (allOf 1)ModelAll variants applyExpand Create a bill (accounts payable) — request body — body vendor value
vendor (allOf 2)JSONAll variants applyThe vendor the bill is owed to.

Referenced models: Create a bill (accounts payable) — request body — body lines item, Create a bill (accounts payable) — request body — body vendor value

Create a bill (accounts payable) — request body — body lines item

FieldTypePresenceDescription and constraints
$objectRootA bill line item to create.
Additional keys: not allowed
amountJSONRequired within parent
amount (allOf 1)numberAll variants applyA dollar amount
Format: double
amount (allOf 2)JSONAll variants applyAmount for this line item. May be negative (e.g. a discount line).
Zero-amount lines are ignored; at least one line must be non-zero, and the
combined total of all lines must be greater than zero (enforced by Teal).
descriptionstringRequired within parentDescription of the line item. Required and non-empty; leading and trailing
whitespace is stripped.
Maximum length: 1024
Minimum length: 1
ledgerIdstringRequired within parentThe ledger account (expense account) to book this line against.
Format: base58 (max length 22)

Create a bill (accounts payable) — request body — body vendor value

FieldTypePresenceDescription and constraints
$JSONRoot
$ (oneOf 1)objectAlternativeAdditional keys: not allowed
$ (oneOf 1).contentsstringRequired within parentID for this books counterparty
Format: uuid
$ (oneOf 1).tagstringRequired within parentOne of: counterpartyId
$ (oneOf 2)objectAlternativeAdditional keys: not allowed
$ (oneOf 2).contentsstringRequired within parentID for the recipient
Format: uuid
$ (oneOf 2).tagstringRequired within parentOne of: recipientId

Create a categorization rule — request body — body

FieldTypePresenceDescription and constraints
$objectRootA categorization rule to create. There is no priority field: Books places the new rule among the existing ones by how specific its conditions are.
Additional keys: not allowed
conditionsarrayRequired within parentThe conditions a transaction must match, from 1 to 10. Every condition must match (logical AND); there is no OR, so an "any of" rule is written as separate rules. The organization may not already have a rule with the same conditions.
Minimum items: 1
conditions[]ModelEach itemExpand Create a categorization rule — request body — body conditions item
outputsarrayRequired within parentWhat the rule applies to a matching transaction: at most one output of each kind, so today exactly one `setLedger`. Its ledger must be one the caller may edit in this Books instance.
Minimum items: 1
outputs[]ModelEach itemExpand Create a categorization rule — request body — body outputs item

Referenced models: Create a categorization rule — request body — body conditions item, Create a categorization rule — request body — body outputs item

Create a categorization rule — request body — body / conditions / item / tag: amount contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions whose amount compares to a threshold (`tag`: `amount`). The amount is signed: money in (credits) is positive and money out (debits) is negative, and the threshold is compared against it as is, so `lessThan` `-50` matches outflows of more than $50. A range is two amount conditions on the same rule.
Additional keys: not allowed
amountJSONRequired within parent
amount (allOf 1)numberAll variants applyA dollar amount
Format: double
amount (allOf 2)JSONAll variants applyThe threshold, in dollars. Signed like the transaction amount: positive for money in, negative for money out.
operatorJSONRequired within parent
operator (allOf 1)stringAll variants applyOne of: lessThan, lessThanOrEqualTo, greaterThan, greaterThanOrEqualTo, equalTo
operator (allOf 2)JSONAll variants applyHow to compare the transaction amount to `amount`.

Create a categorization rule — request body — body / conditions / item / tag: counterparty contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions whose counterparty name is exactly a name (`tag`: `counterparty`). Only Mercury transactions carry a counterparty.
Additional keys: not allowed
namestringRequired within parentThe counterparty name the transaction must have, matched exactly.

Create a categorization rule — request body — body / conditions / item / tag: credit Card contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions made with a Mercury credit card (`tag`: `creditCard`).
Additional keys: not allowed
creditCardIdJSONRequired within parent
creditCardId (allOf 1)stringAll variants applyFormat: uuid
creditCardId (allOf 2)JSONAll variants applyThe ID of the credit card.

Create a categorization rule — request body — body / conditions / item / tag: custom Category contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions whose current Mercury custom (expense) category is a category (`tag`: `customCategory`).
Additional keys: not allowed
customCategoryIdJSONRequired within parent
customCategoryId (allOf 1)stringAll variants applyID for the category
Format: uuid
customCategoryId (allOf 2)JSONAll variants applyThe ID of the custom category.

Create a categorization rule — request body — body / conditions / item / tag: debit Card contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions made with a Mercury debit card (`tag`: `debitCard`).
Additional keys: not allowed
debitCardIdJSONRequired within parent
debitCardId (allOf 1)stringAll variants applyFormat: uuid
debitCardId (allOf 2)JSONAll variants applyThe ID of the debit card.

Create a categorization rule — request body — body / conditions / item / tag: description contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions whose raw bank description contains a text, ignoring case (`tag`: `description`).
Additional keys: not allowed
containsstringRequired within parentThe text the bank description must contain, ignoring case.

Create a categorization rule — request body — body / conditions / item / tag: user contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions made by a team member (`tag`: `user`).
Additional keys: not allowed
userIdJSONRequired within parent
userId (allOf 1)stringAll variants applyID for the user
Format: uuid
userId (allOf 2)JSONAll variants applyThe ID of the user who made the transaction.

Create a categorization rule — request body — body conditions item

FieldTypePresenceDescription and constraints
$JSONRootA condition a transaction must match for a categorization rule to apply. `tag` says which condition it is (`amount`, `description`, `counterparty`, `debitCard`, `creditCard`, `user`, or `customCategory`) and `contents` holds its fields. A rule's conditions must all match; there is no OR, so an "any of" rule is written as separate rules.
$ (oneOf 1)objectAlternativeAdditional keys: not allowed
$ (oneOf 1).contentsModelRequired within parentExpand Create a categorization rule — request body — body / conditions / item / tag: amount contents
$ (oneOf 1).tagstringRequired within parentOne of: amount
$ (oneOf 2)objectAlternativeAdditional keys: not allowed
$ (oneOf 2).contentsModelRequired within parentExpand Create a categorization rule — request body — body / conditions / item / tag: description contents
$ (oneOf 2).tagstringRequired within parentOne of: description
$ (oneOf 3)objectAlternativeAdditional keys: not allowed
$ (oneOf 3).contentsModelRequired within parentExpand Create a categorization rule — request body — body / conditions / item / tag: counterparty contents
$ (oneOf 3).tagstringRequired within parentOne of: counterparty
$ (oneOf 4)objectAlternativeAdditional keys: not allowed
$ (oneOf 4).contentsModelRequired within parentExpand Create a categorization rule — request body — body / conditions / item / tag: debit Card contents
$ (oneOf 4).tagstringRequired within parentOne of: debitCard
$ (oneOf 5)objectAlternativeAdditional keys: not allowed
$ (oneOf 5).contentsModelRequired within parentExpand Create a categorization rule — request body — body / conditions / item / tag: credit Card contents
$ (oneOf 5).tagstringRequired within parentOne of: creditCard
$ (oneOf 6)objectAlternativeAdditional keys: not allowed
$ (oneOf 6).contentsModelRequired within parentExpand Create a categorization rule — request body — body / conditions / item / tag: user contents
$ (oneOf 6).tagstringRequired within parentOne of: user
$ (oneOf 7)objectAlternativeAdditional keys: not allowed
$ (oneOf 7).contentsModelRequired within parentExpand Create a categorization rule — request body — body / conditions / item / tag: custom Category contents
$ (oneOf 7).tagstringRequired within parentOne of: customCategory

Referenced models: Create a categorization rule — request body — body / conditions / item / tag: amount contents, Create a categorization rule — request body — body / conditions / item / tag: counterparty contents, Create a categorization rule — request body — body / conditions / item / tag: credit Card contents, Create a categorization rule — request body — body / conditions / item / tag: custom Category contents, Create a categorization rule — request body — body / conditions / item / tag: debit Card contents, Create a categorization rule — request body — body / conditions / item / tag: description contents, Create a categorization rule — request body — body / conditions / item / tag: user contents

Create a categorization rule — request body — body outputs item

FieldTypePresenceDescription and constraints
$objectRootWhat a categorization rule does to a transaction it matches. `tag` says which output it is and `contents` holds its fields; today the only output is `setLedger`, which categorizes the transaction to the ledger `contents.ledgerId`.
Additional keys: not allowed
contentsModelRequired within parentExpand Create a categorization rule — request body — body outputs item contents
tagstringRequired within parentOne of: setLedger

Referenced models: Create a categorization rule — request body — body outputs item contents

Create a categorization rule — request body — body outputs item contents

FieldTypePresenceDescription and constraints
$objectRootSets the transaction's categorization to a ledger, i.e. a general ledger (GL) account (`tag`: `setLedger`).
Additional keys: not allowed
ledgerIdstringRequired within parentThe ID of the ledger matching transactions are categorized to.
Format: base58 (max length 22)

Create a categorization rule — response body

FieldTypePresenceDescription and constraints
$objectRootThe created categorization rule.
ruleJSONRequired within parent
rule (allOf 1)ModelAll variants applyExpand List categorization rules — response body — rules item
rule (allOf 2)JSONAll variants applyThe created rule, as the list endpoint returns it.

Referenced models: List categorization rules — response body — rules item

Create an invoice (accounts receivable) — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request to create a single invoice (accounts receivable).
Additional keys: not allowed
customerJSONRequired within parent
customer (allOf 1)stringAll variants applyThe customer who will receive the invoice. Use the /api/v1/ar/customers endpoint to list your customers and find the corresponding id, or create a new customer first.
Format: uuid
customer (allOf 2)JSONAll variants applyThe customer to bill (the Customer field of the form): a Mercury Invoicing customer ID of this organization, from the Mercury Invoicing customers API (`/ar/customers`).
dueDateJSONRequired within parent
dueDate (allOf 1)stringAll variants applyFormat: date
dueDate (allOf 2)JSONAll variants applyThe due date (the Due date field of the form), YYYY-MM-DD.
effectiveDateJSONRequired within parent
effectiveDate (allOf 1)stringAll variants applyFormat: date
effectiveDate (allOf 2)JSONAll variants applyThe invoice date (the Invoice date field of the form), YYYY-MM-DD. Books records the invoice on the earlier of this and `dueDate`.
linesarrayRequired within parentThe line items (the Line items table of the form). At least one is required.
Minimum items: 1
lines[]ModelEach itemExpand Create an invoice (accounts receivable) — request body — body lines item
notesJSONOptional
notes (anyOf 1)stringAlternativeAn optional note (the Note field of the form).
notes (anyOf 2)nullAlternative
referenceNumberstringRequired within parentThe invoice number, as in the Invoice number field of the form (for example `INV-1042`): the number the business gives the invoice and its customer sees. Required, 1 to 299 characters; leading and trailing whitespace is stripped. With the Mercury Invoicing integration it becomes the Mercury Invoicing invoice number and must be unique among all of the organization's Mercury invoices, of any status. Without it, it is stored only in Books, which rejects a second invoice with the same invoice number for the same customer.
Maximum length: 299
Minimum length: 1

Referenced models: Create an invoice (accounts receivable) — request body — body lines item

Create an invoice (accounts receivable) — request body — body lines item

FieldTypePresenceDescription and constraints
$objectRootA line item of the invoice to create.
Additional keys: not allowed
amountJSONRequired within parent
amount (allOf 1)numberAll variants applyA dollar amount
Format: double
amount (allOf 2)JSONAll variants applyThe line item's amount, in dollars (the Amount column of the form). May be negative (e.g. a discount line). Zero-amount lines are ignored; at least one line must be non-zero, and the combined total of all lines must be greater than zero.
descriptionstringRequired within parentThe line item's description (the Description column of the form). Required and non-empty; leading and trailing whitespace is stripped.
Maximum length: 1024
Minimum length: 1
ledgerIdstringRequired within parentThe ledger account to book this line against, such as a revenue ledger (the Ledger account column of the form). Use an ID from getBooksLedgers; it must be in this Books instance and not a Mercury bank-feed ledger.
Format: base58 (max length 22)

Create an invoice (accounts receivable) — response body — customer, due Date, effective Date, gross Amount, message, reference Number, sync Status

FieldTypePresenceDescription and constraints
$objectRootAn invoice that was created in Mercury Invoicing but has not synced to
Books yet, so it has no Books ID. Returned with HTTP 202.
customerJSONRequired within parent
customer (allOf 1)ModelAll variants applyExpand Create an invoice (accounts receivable) — response body — customer, due Date, effective Date, gross Amount, message, reference Number, sync Status customer id, name
customer (allOf 2)JSONAll variants applyThe customer the invoice is billed to.
dueDateJSONRequired within parent
dueDate (allOf 1)stringAll variants applyFormat: date
dueDate (allOf 2)JSONAll variants applyThe due date.
effectiveDateJSONRequired within parent
effectiveDate (allOf 1)stringAll variants applyFormat: date
effectiveDate (allOf 2)JSONAll variants applyThe date Books records the invoice on: the earlier of the invoice date and the due date.
grossAmountJSONRequired within parent
grossAmount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
grossAmount (allOf 2)JSONAll variants applyThe total of all line items, in dollars.
messagestringRequired within parentWhat happened and how to find the invoice once it has synced.
referenceNumberstringRequired within parentThe invoice number, unique among the organization's Mercury invoices. Once the invoice has synced, filter the invoice list by it to find the invoice.
syncStatusJSONRequired within parent
syncStatus (allOf 1)stringAll variants applyKnown values: pending
syncStatus (allOf 2)JSONAll variants applyAlways `pending`. A created invoice has an `id` instead.

Referenced models: Create a product — response body — unit Price value, Create an invoice (accounts receivable) — response body — customer, due Date, effective Date, gross Amount, message, reference Number, sync Status customer id, name

Create an invoice (accounts receivable) — response body — customer, due Date, effective Date, gross Amount, message, reference Number, sync Status customer id, name

FieldTypePresenceDescription and constraints
$objectRootThe customer an invoice is billed to. The id is a Mercury Invoicing
customer id, the one the Invoicing customers API (`/ar/customers`) returns;
the name is inlined so a caller needs no second lookup.
idJSONRequired within parent
id (allOf 1)stringAll variants applyThe customer who will receive the invoice. Use the /api/v1/ar/customers endpoint to list your customers and find the corresponding id, or create a new customer first.
Format: uuid
id (allOf 2)JSONAll variants applyThe Mercury Invoicing customer ID of the customer.
namestringRequired within parentThe customer's current name in Mercury Invoicing, also for a customer
that has since been deleted there.

Create ledgers (general ledger accounts) — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to create general ledgers.
Additional keys: not allowed
ledgersarrayRequired within parentThe ledgers to create, from 1 to 100 ('maxBooksAPILedgerWrites').
Minimum items: 1
ledgers[]ModelEach itemExpand Create ledgers (general ledger accounts) — request body — body ledgers item

Referenced models: Create ledgers (general ledger accounts) — request body — body ledgers item

Create ledgers (general ledger accounts) — request body — body ledgers item

FieldTypePresenceDescription and constraints
$objectRootA general ledger to create.
Additional keys: not allowed
debitCreditJSONRequired within parent
debitCredit (allOf 1)stringAll variants applyOne of: debit, credit
debitCredit (allOf 2)JSONAll variants applyWhether the ledger has a debit or credit nature
namestringRequired within parentThe ledger name
Format: size < 256
parentIdJSONOptional
parentId (anyOf 1)stringAlternativeOptional parent ledger, to create this ledger as a child ledger
Format: base58 (max length 22)
parentId (anyOf 2)nullAlternative
sortCodestringRequired within parentNumeric sort code used to order the ledger in the chart of accounts
Format: matches ^[0-9]+$, size < 21
subTypeJSONRequired within parent
subType (allOf 1)stringAll variants applyOne of: currentAssets, nonCurrentAssets, transfersBetweenAccounts, uncategorizedAssets, currentLiabilities, nonCurrentLiabilities, equity, operatingRevenues, otherIncome, costOfGoodsSold, operatingExpenses, otherExpenses, retainedEarnings
subType (allOf 2)JSONAll variants applyThe ledger sub-type
typeJSONRequired within parent
type (allOf 1)stringAll variants applyOne of: asset, liability, equity, revenue, expense
type (allOf 2)JSONAll variants applyThe ledger type

Create ledgers (general ledger accounts) — response body

FieldTypePresenceDescription and constraints
$objectRootOne result per requested ledger, in request order.
failedCountJSONRequired within parent
failedCount (anyOf 1)integerAlternativeHow many items in `results` failed, each with an `error`. Zero exactly when every item succeeded. `succeededCount` plus `failedCount` always equals the number of `results`.
Maximum: 9223372036854776000
Minimum: -9223372036854776000
failedCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
resultsarrayRequired within parentOne result per requested ledger, in request order. A failed item does not fail the others.
results[]ModelEach itemExpand Create ledgers (general ledger accounts) — response body — results item
succeededCountJSONRequired within parent
succeededCount (anyOf 1)integerAlternativeHow many items in `results` succeeded.
Maximum: 9223372036854776000
Minimum: -9223372036854776000
succeededCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create ledgers (general ledger accounts) — response body — results item

Create ledgers (general ledger accounts) — response body — results item

FieldTypePresenceDescription and constraints
$objectRootThe outcome of creating one requested ledger: exactly one of `ledger` and `error` is set.
errorJSONOptional
error (anyOf 1)JSONAlternative
error (anyOf 1) (allOf 1)ModelAll variants applyExpand Set or clear ledger opening balances — response body — results item error code, message code, message
error (anyOf 1) (allOf 2)JSONAll variants applyWhy the ledger was not created, when it wasn't.
error (anyOf 2)nullAlternative
ledgerJSONOptional
ledger (anyOf 1)JSONAlternative
ledger (anyOf 1) (allOf 1)ModelAll variants applyExpand List the live chart of accounts — response body — ledgers item
ledger (anyOf 1) (allOf 2)JSONAll variants applyThe created ledger, when it was created.
ledger (anyOf 2)nullAlternative

Referenced models: List the live chart of accounts — response body — ledgers item, Set or clear ledger opening balances — response body — results item error code, message code, message

Create multiple journal entries — request body — body item

FieldTypePresenceDescription and constraints
$objectRootRequest to create a single journal entry.
Additional keys: not allowed
datetimeJSONRequired within parent
datetime (allOf 1)stringAll variants applyFormat: yyyy-mm-ddThh:MM:ssZ
datetime (allOf 2)JSONAll variants applyThe date and time of the journal entry
descriptionstringRequired within parentDescription of the journal entry
Format: size < 513
lineEntriesarrayRequired within parentThe line entries that compose this journal entry
lineEntries[]ModelEach itemExpand Create multiple journal entries — request body — body item line Entries item

Referenced models: Create multiple journal entries — request body — body item line Entries item

Create multiple journal entries — request body — body item line Entries item

FieldTypePresenceDescription and constraints
$objectRootA line entry within a journal entry creation request.
Additional keys: not allowed
amountJSONRequired within parent
amount (allOf 1)numberAll variants applyA dollar amount
Format: double
amount (allOf 2)JSONAll variants applyThe amount for this line entry
debitCreditJSONRequired within parent
debitCredit (allOf 1)stringAll variants applyOne of: debit, credit
debitCredit (allOf 2)JSONAll variants applyWhether this line entry is a debit or credit
descriptionstringRequired within parentDescription of the line entry
Format: size < 4001
ledgerIdstringRequired within parentThe ledger this line entry is posted to
Format: base58 (max length 22)
tagIdsJSONOptional
tagIds (anyOf 1)arrayAlternativeOptional tags to associate with this line entry
tagIds (anyOf 1)[]stringEach itemunique id for a tag; emitted as base-58, but a base-16 UUID is also accepted
Format: base58 (max length 22)
tagIds (anyOf 2)nullAlternative

Create multiple journal entries — response body

FieldTypePresenceDescription and constraints
$objectRootResponse for a bulk journal entry creation request.
journalEntriesarrayRequired within parentThe created journal entries
journalEntries[]ModelEach itemExpand List journal entries — response body — journal Entries item

Referenced models: List journal entries — response body — journal Entries item

Delete ledgers (general ledger accounts) — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to delete general ledgers.
Additional keys: not allowed
ledgerIdsarrayRequired within parentThe IDs of the ledgers to delete, from 1 to 100 distinct IDs, processed in order. List a child ledger before its parent: a parent that still has children when it is reached is not deleted. A repeated ID is processed once, at its first position.
ledgerIds[]stringEach itemunique id for a ledger; emitted as base-58, but a base-16 UUID is also accepted
Format: base58 (max length 22)

Delete ledgers (general ledger accounts) — response body

FieldTypePresenceDescription and constraints
$objectRootOne result per distinct requested ledger ID, in request order.
failedCountJSONRequired within parent
failedCount (anyOf 1)integerAlternativeHow many items in `results` failed, each with an `error`. Zero exactly when every item succeeded. `succeededCount` plus `failedCount` always equals the number of `results`.
Maximum: 9223372036854776000
Minimum: -9223372036854776000
failedCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
resultsarrayRequired within parentOne result per distinct requested ledger ID, in request order. A failed item does not fail the others.
results[]ModelEach itemExpand Delete ledgers (general ledger accounts) — response body — results item
succeededCountJSONRequired within parent
succeededCount (anyOf 1)integerAlternativeHow many items in `results` succeeded.
Maximum: 9223372036854776000
Minimum: -9223372036854776000
succeededCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Delete ledgers (general ledger accounts) — response body — results item

Delete ledgers (general ledger accounts) — response body — results item

FieldTypePresenceDescription and constraints
$objectRootThe outcome of deleting one requested ledger: `deleted` is true, or `error` says why the ledger was not deleted.
deletedbooleanRequired within parentWhether the ledger was deleted.
errorJSONOptional
error (anyOf 1)JSONAlternative
error (anyOf 1) (allOf 1)ModelAll variants applyExpand Set or clear ledger opening balances — response body — results item error code, message code, message
error (anyOf 1) (allOf 2)JSONAll variants applyWhy the ledger was not deleted, when it wasn't.
error (anyOf 2)nullAlternative
ledgerIdstringRequired within parentThe requested ledger ID.
Format: base58 (max length 22)

Referenced models: Set or clear ledger opening balances — response body — results item error code, message code, message

Delete multiple journal entries — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to delete journal entries.
Additional keys: not allowed
journalEntryIdsarrayRequired within parentA list of journal entry ids to delete
journalEntryIds[]stringEach itemunique id for a journal entry; emitted as base-58, but a base-16 UUID is also accepted
Format: base58 (max length 22)

Edit a bill (accounts payable) — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request to edit a single bill (accounts payable). Every field is optional;
an omitted field is left unchanged.
Additional keys: not allowed
dueDateJSONOptional
dueDate (anyOf 1)JSONAlternative
dueDate (anyOf 1) (allOf 1)stringAll variants applyFormat: date
dueDate (anyOf 1) (allOf 2)JSONAll variants applyA new due date for the bill.
dueDate (anyOf 2)nullAlternative
effectiveDateJSONOptional
effectiveDate (anyOf 1)JSONAlternative
effectiveDate (anyOf 1) (allOf 1)stringAll variants applyFormat: date
effectiveDate (anyOf 1) (allOf 2)JSONAll variants applyA new effective date for the bill (e.g. the bill date).
effectiveDate (anyOf 2)nullAlternative
lineChangesJSONOptional
lineChanges (anyOf 1)JSONAlternative
lineChanges (anyOf 1) (allOf 1)ModelAll variants applyExpand Edit a bill (accounts payable) — request body — body line Changes Changes to the bill's line items create, delete, update
lineChanges (anyOf 1) (allOf 2)JSONAll variants applyChanges to the bill's line items.
lineChanges (anyOf 2)nullAlternative
notesJSONOptional
notes (anyOf 1)stringAlternativeNew notes or memo for the bill.
notes (anyOf 2)nullAlternative
referenceNumberJSONOptional
referenceNumber (anyOf 1)stringAlternativeA new reference number (e.g. the vendor's bill number). Non-empty; leading
and trailing whitespace is stripped. Clearing the reference number is not
supported.
Maximum length: 299
Minimum length: 1
referenceNumber (anyOf 2)nullAlternative
vendorJSONOptional
vendor (anyOf 1)JSONAlternative
vendor (anyOf 1) (allOf 1)stringAll variants applyID for this books counterparty
Format: uuid
vendor (anyOf 1) (allOf 2)JSONAll variants applyA new vendor for the bill, as a canonical Books counterparty ID. Unlike
create, a recipient alias is not accepted on edit.
vendor (anyOf 2)nullAlternative

Referenced models: Edit a bill (accounts payable) — request body — body line Changes Changes to the bill's line items create, delete, update

Edit a bill (accounts payable) — request body — body line Changes Changes to the bill's line items create, delete, update

FieldTypePresenceDescription and constraints
$objectRootChanges to a bill's line items: new lines to create, existing lines to
update, and existing line IDs to delete. Each list is optional.
Additional keys: not allowed
createJSONOptional
create (anyOf 1)arrayAlternativeNew line items to add to the bill.
create (anyOf 1)[]ModelEach itemExpand Create a bill (accounts payable) — request body — body lines item
create (anyOf 2)nullAlternative
deleteJSONOptional
delete (anyOf 1)arrayAlternativeIDs of existing line items to delete.
delete (anyOf 1)[]stringEach itemunique id for an accrual source line; emitted as base-58, but a base-16 UUID is also accepted
Format: base58 (max length 22)
delete (anyOf 2)nullAlternative
updateJSONOptional
update (anyOf 1)arrayAlternativeExisting line items to edit.
update (anyOf 1)[]ModelEach itemExpand Edit a bill (accounts payable) — request body — body line Changes Changes to the bill's line items create, delete, update update Existing line items to edit item
update (anyOf 2)nullAlternative

Referenced models: Create a bill (accounts payable) — request body — body lines item, Edit a bill (accounts payable) — request body — body line Changes Changes to the bill's line items create, delete, update update Existing line items to edit item

Edit a bill (accounts payable) — request body — body line Changes Changes to the bill's line items create, delete, update update Existing line items to edit item

FieldTypePresenceDescription and constraints
$objectRootAn edit to an existing bill line item. Every field but the @id@ is optional;
an omitted field is left unchanged.
Additional keys: not allowed
amountJSONOptional
amount (anyOf 1)JSONAlternative
amount (anyOf 1) (allOf 1)numberAll variants applyA dollar amount
Format: double
amount (anyOf 1) (allOf 2)JSONAll variants applyAmount for this line item. May be negative (e.g. a discount line) but must
be non-zero; the combined total of all lines must be greater than zero
(enforced by Teal).
amount (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeDescription of the line item. Non-empty; leading and trailing whitespace is
stripped.
Maximum length: 1024
Minimum length: 1
description (anyOf 2)nullAlternative
idstringRequired within parentThe ID of the line item to update.
Format: base58 (max length 22)
ledgerIdJSONOptional
ledgerId (anyOf 1)stringAlternativeThe ledger account (expense account) to book this line against.
Format: base58 (max length 22)
ledgerId (anyOf 2)nullAlternative

Edit a bill (accounts payable) — response body

FieldTypePresenceDescription and constraints
$objectRootA bill (accounts payable) recorded in Books, with its lines and the
payments applied to it.
amountRemainingJSONRequired within parent
amountRemaining (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amountRemaining (allOf 2)JSONAll variants applyThe amount still owed after applied payments, in dollars.
displayStatusJSONRequired within parent
displayStatus (allOf 1)stringAll variants applyKnown values: open, paid, draft, cancelled, overdue, partiallyPaid, processing
displayStatus (allOf 2)JSONAll variants applyThe status as shown to users, derived from `status`, the due date, and payments: also `overdue` (open and past due) and `partiallyPaid` (open with some payment applied).
dueDateJSONOptional
dueDate (anyOf 1)JSONAlternative
dueDate (anyOf 1) (allOf 1)stringAll variants applyFormat: date
dueDate (anyOf 1) (allOf 2)JSONAll variants applyThe due date. Omitted when none is set.
dueDate (anyOf 2)nullAlternative
effectiveDateJSONRequired within parent
effectiveDate (allOf 1)stringAll variants applyFormat: date
effectiveDate (allOf 2)JSONAll variants applyThe bill date.
grossAmountJSONRequired within parent
grossAmount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
grossAmount (allOf 2)JSONAll variants applyThe total of all lines, in dollars.
idstringRequired within parentThe identifier of the bill.
Format: base58 (max length 22)
linesarrayRequired within parentThe line items.
lines[]ModelEach itemExpand Edit a bill (accounts payable) — response body — lines item
notesJSONOptional
notes (anyOf 1)stringAlternativeThe bill's notes or memo. Omitted when it has none.
notes (anyOf 2)nullAlternative
paymentApplicationsarrayRequired within parentThe payments applied. Empty when none.
paymentApplications[]ModelEach itemExpand Edit a bill (accounts payable) — response body — payment Applications item
referenceNumberJSONOptional
referenceNumber (anyOf 1)stringAlternativeThe bill number. Omitted when it has none.
referenceNumber (anyOf 2)nullAlternative
statusJSONRequired within parent
status (allOf 1)stringAll variants applyKnown values: open, paid, draft, cancelled, processing
status (allOf 2)JSONAll variants applyThe stored lifecycle status: `draft`, `open`, `processing`, `paid`, or `cancelled`.
vendorJSONOptional
vendor (anyOf 1)JSONAlternative
vendor (anyOf 1) (allOf 1)ModelAll variants applyExpand Edit a bill (accounts payable) — response body — vendor id, name id, name
vendor (anyOf 1) (allOf 2)JSONAll variants applyThe vendor the bill is owed to. Omitted when the bill has no vendor.
vendor (anyOf 2)nullAlternative

Referenced models: Create a product — response body — unit Price value, Edit a bill (accounts payable) — response body — lines item, Edit a bill (accounts payable) — response body — payment Applications item, Edit a bill (accounts payable) — response body — vendor id, name id, name

Edit a bill (accounts payable) — response body — lines item

FieldTypePresenceDescription and constraints
$objectRootA line item of a bill.
amountJSONRequired within parent
amount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amount (allOf 2)JSONAll variants applyThe line's amount, in dollars.
descriptionstringRequired within parentThe line's description.
idstringRequired within parentThe identifier of the line.
Format: base58 (max length 22)
ledgerIdstringRequired within parentThe identifier of the ledger (general ledger account) the line posts to, such as an expense ledger.
Format: base58 (max length 22)

Referenced models: Create a product — response body — unit Price value

Edit a bill (accounts payable) — response body — payment Applications item

FieldTypePresenceDescription and constraints
$objectRootA payment applied to a bill: part or all of a journal entry line entry,
such as a bank transaction's, matched against it.
amountJSONRequired within parent
amount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amount (allOf 2)JSONAll variants applyThe amount of the line entry applied to this bill, in dollars.
lineEntryIdstringRequired within parentThe identifier of the line entry applied as payment.
Format: base58 (max length 22)

Referenced models: Create a product — response body — unit Price value

Edit a bill (accounts payable) — response body — vendor id, name id, name

FieldTypePresenceDescription and constraints
$objectRootThe vendor a bill is owed to. The id is the Books counterparty id (never a
Bill Pay recipient id); the name is inlined because there is no public
counterparties endpoint yet, so a bare id would be unusable.
idJSONRequired within parent
id (allOf 1)stringAll variants applyID for this books counterparty
Format: uuid
id (allOf 2)JSONAll variants applyThe Books counterparty ID of the vendor. This is not a recipient ID.
namestringRequired within parentThe vendor's name. When the counterparty is linked to a Bill Pay
recipient, this is the recipient's current name; otherwise it falls back to
the name snapshotted on the Books counterparty.

Edit an invoice (accounts receivable) — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request to edit a single invoice (accounts receivable). Every field is
optional; an omitted field is left unchanged.
Additional keys: not allowed
customerJSONOptional
customer (anyOf 1)JSONAlternative
customer (anyOf 1) (allOf 1)stringAll variants applyThe customer who will receive the invoice. Use the /api/v1/ar/customers endpoint to list your customers and find the corresponding id, or create a new customer first.
Format: uuid
customer (anyOf 1) (allOf 2)JSONAll variants applyThe customer to bill: a Mercury Invoicing customer ID of this organization, from the Mercury Invoicing customers API (`/ar/customers`). An invoice synced with Mercury Invoicing accepts only its current customer.
customer (anyOf 2)nullAlternative
dueDateJSONOptional
dueDate (anyOf 1)JSONAlternative
dueDate (anyOf 1) (allOf 1)stringAll variants applyFormat: date
dueDate (anyOf 1) (allOf 2)JSONAll variants applyA new due date, YYYY-MM-DD.
dueDate (anyOf 2)nullAlternative
effectiveDateJSONOptional
effectiveDate (anyOf 1)JSONAlternative
effectiveDate (anyOf 1) (allOf 1)stringAll variants applyFormat: date
effectiveDate (anyOf 1) (allOf 2)JSONAll variants applyA new invoice date, YYYY-MM-DD.
effectiveDate (anyOf 2)nullAlternative
lineChangesJSONOptional
lineChanges (anyOf 1)JSONAlternative
lineChanges (anyOf 1) (allOf 1)ModelAll variants applyExpand Edit an invoice (accounts receivable) — request body — body line Changes Changes to the invoice's line items create, delete, update
lineChanges (anyOf 1) (allOf 2)JSONAll variants applyChanges to the invoice's line items.
lineChanges (anyOf 2)nullAlternative
notesJSONOptional
notes (anyOf 1)stringAlternativeA new note for the invoice.
notes (anyOf 2)nullAlternative
referenceNumberJSONOptional
referenceNumber (anyOf 1)stringAlternativeA new invoice number, the number the customer sees (for example `INV-1042`). 1 to 299 characters; leading and trailing whitespace is stripped. Clearing it is not supported.
Maximum length: 299
Minimum length: 1
referenceNumber (anyOf 2)nullAlternative

Referenced models: Edit an invoice (accounts receivable) — request body — body line Changes Changes to the invoice's line items create, delete, update

Edit an invoice (accounts receivable) — request body — body line Changes Changes to the invoice's line items create, delete, update

FieldTypePresenceDescription and constraints
$objectRootChanges to an invoice's line items: new lines to create, existing lines to
update, and existing line IDs to delete. Each list is optional.
Additional keys: not allowed
createJSONOptional
create (anyOf 1)arrayAlternativeNew line items to add to the invoice.
create (anyOf 1)[]ModelEach itemExpand Create an invoice (accounts receivable) — request body — body lines item
create (anyOf 2)nullAlternative
deleteJSONOptional
delete (anyOf 1)arrayAlternativeIDs of existing invoice line items to delete.
delete (anyOf 1)[]stringEach itemunique id for an accrual source line; emitted as base-58, but a base-16 UUID is also accepted
Format: base58 (max length 22)
delete (anyOf 2)nullAlternative
updateJSONOptional
update (anyOf 1)arrayAlternativeExisting invoice line items to edit.
update (anyOf 1)[]ModelEach itemExpand Edit an invoice (accounts receivable) — request body — body line Changes Changes to the invoice's line items create, delete, update update Existing invoice line items to edit item
update (anyOf 2)nullAlternative

Referenced models: Create an invoice (accounts receivable) — request body — body lines item, Edit an invoice (accounts receivable) — request body — body line Changes Changes to the invoice's line items create, delete, update update Existing invoice line items to edit item

Edit an invoice (accounts receivable) — request body — body line Changes Changes to the invoice's line items create, delete, update update Existing invoice line items to edit item

FieldTypePresenceDescription and constraints
$objectRootAn edit to an existing invoice line item. Every field but the `id` is
optional; an omitted field is left unchanged.
Additional keys: not allowed
amountJSONOptional
amount (anyOf 1)JSONAlternative
amount (anyOf 1) (allOf 1)numberAll variants applyA dollar amount
Format: double
amount (anyOf 1) (allOf 2)JSONAll variants applyThe line item's amount, in dollars. May be negative (e.g. a discount line); the combined total of all lines must be greater than zero.
amount (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe line item's description. Non-empty; leading and trailing whitespace is stripped.
Maximum length: 1024
Minimum length: 1
description (anyOf 2)nullAlternative
idstringRequired within parentThe ID of the invoice line item to update.
Format: base58 (max length 22)
ledgerIdJSONOptional
ledgerId (anyOf 1)stringAlternativeThe ledger account to book this line against, such as a revenue ledger. Use an ID from getBooksLedgers; it must be in this Books instance and not a Mercury bank-feed ledger.
Format: base58 (max length 22)
ledgerId (anyOf 2)nullAlternative

Edit an invoice (accounts receivable) — response body — amount Remaining, customer, display Status, due Date, effective Date, gross Amount, id, lines, notes, payment Applications, reference Number, status

FieldTypePresenceDescription and constraints
$objectRootAn invoice (accounts receivable) recorded in Books, with its lines and the
payments applied to it.
amountRemainingJSONRequired within parent
amountRemaining (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amountRemaining (allOf 2)JSONAll variants applyThe amount still owed after applied payments, in dollars.
customerJSONOptional
customer (anyOf 1)JSONAlternative
customer (anyOf 1) (allOf 1)ModelAll variants applyExpand Create an invoice (accounts receivable) — response body — customer, due Date, effective Date, gross Amount, message, reference Number, sync Status customer id, name
customer (anyOf 1) (allOf 2)JSONAll variants applyThe customer the invoice is billed to. Omitted when the invoice has no customer.
customer (anyOf 2)nullAlternative
displayStatusJSONRequired within parent
displayStatus (allOf 1)stringAll variants applyKnown values: open, paid, draft, cancelled, overdue, partiallyPaid, processing
displayStatus (allOf 2)JSONAll variants applyThe status as shown to users, derived from `status`, the due date, and payments: also `overdue` (open and past due) and `partiallyPaid` (open with some payment applied).
dueDateJSONOptional
dueDate (anyOf 1)JSONAlternative
dueDate (anyOf 1) (allOf 1)stringAll variants applyFormat: date
dueDate (anyOf 1) (allOf 2)JSONAll variants applyThe due date. Omitted when none is set.
dueDate (anyOf 2)nullAlternative
effectiveDateJSONRequired within parent
effectiveDate (allOf 1)stringAll variants applyFormat: date
effectiveDate (allOf 2)JSONAll variants applyThe invoice date.
grossAmountJSONRequired within parent
grossAmount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
grossAmount (allOf 2)JSONAll variants applyThe total of all lines, in dollars.
idstringRequired within parentThe identifier of the invoice.
Format: base58 (max length 22)
linesarrayRequired within parentThe line items.
lines[]ModelEach itemExpand Edit an invoice (accounts receivable) — response body — amount Remaining, customer, display Status, due Date, effective Date, gross Amount, id, lines, notes, payment Applications, reference Number, status lines item
notesJSONOptional
notes (anyOf 1)stringAlternativeThe invoice's note, as shown in the Note field of the Books invoice in Mercury. Omitted when it has none.
notes (anyOf 2)nullAlternative
paymentApplicationsarrayRequired within parentThe payments applied. Empty when none.
paymentApplications[]ModelEach itemExpand Edit an invoice (accounts receivable) — response body — amount Remaining, customer, display Status, due Date, effective Date, gross Amount, id, lines, notes, payment Applications, reference Number, status payment Applications item
referenceNumberJSONOptional
referenceNumber (anyOf 1)stringAlternativeThe invoice number, as shown in the Invoice number field of the Books invoice in Mercury (for example `INV-1042`). Omitted when it has none.
referenceNumber (anyOf 2)nullAlternative
statusJSONRequired within parent
status (allOf 1)stringAll variants applyKnown values: open, paid, draft, cancelled, processing
status (allOf 2)JSONAll variants applyThe stored lifecycle status: `draft`, `open`, `processing`, `paid`, or `cancelled`.

Referenced models: Create a product — response body — unit Price value, Create an invoice (accounts receivable) — response body — customer, due Date, effective Date, gross Amount, message, reference Number, sync Status customer id, name, Edit an invoice (accounts receivable) — response body — amount Remaining, customer, display Status, due Date, effective Date, gross Amount, id, lines, notes, payment Applications, reference Number, status lines item, Edit an invoice (accounts receivable) — response body — amount Remaining, customer, display Status, due Date, effective Date, gross Amount, id, lines, notes, payment Applications, reference Number, status payment Applications item

Edit an invoice (accounts receivable) — response body — amount Remaining, customer, display Status, due Date, effective Date, gross Amount, id, lines, notes, payment Applications, reference Number, status lines item

FieldTypePresenceDescription and constraints
$objectRootA line item of an invoice.
amountJSONRequired within parent
amount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amount (allOf 2)JSONAll variants applyThe line's amount, in dollars.
descriptionstringRequired within parentThe line's description.
idstringRequired within parentThe identifier of the line.
Format: base58 (max length 22)
ledgerIdstringRequired within parentThe identifier of the ledger account (general ledger, or GL, account) the line posts to, such as a revenue ledger.
Format: base58 (max length 22)

Referenced models: Create a product — response body — unit Price value

Edit an invoice (accounts receivable) — response body — amount Remaining, customer, display Status, due Date, effective Date, gross Amount, id, lines, notes, payment Applications, reference Number, status payment Applications item

FieldTypePresenceDescription and constraints
$objectRootA payment applied to an invoice: part or all of a journal entry line
entry, such as a bank transaction's, matched against it.
amountJSONRequired within parent
amount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amount (allOf 2)JSONAll variants applyThe amount of the line entry applied to this invoice, in dollars.
lineEntryIdstringRequired within parentThe identifier of the line entry applied as payment.
Format: base58 (max length 22)

Referenced models: Create a product — response body — unit Price value

Edit an invoice (accounts receivable) — response body — id, message, sync Status

FieldTypePresenceDescription and constraints
$objectRootAn edit to an invoice synced with Mercury Invoicing that was saved there
but has not synced to Books yet. Returned with HTTP 202.
idstringRequired within parentThe ID of the edited invoice.
Format: base58 (max length 22)
messagestringRequired within parentWhat happened and when to read the invoice back.
syncStatusJSONRequired within parent
syncStatus (allOf 1)stringAll variants applyKnown values: pending
syncStatus (allOf 2)JSONAll variants applyAlways `pending`. An edit that has synced returns the updated invoice instead.

List a source account's transactions — response body

FieldTypePresenceDescription and constraints
$objectRootOne page of a source account's transactions.
nextPageTokenJSONOptional
nextPageToken (anyOf 1)stringAlternativePresent when more transactions match the request. Pass it back as `pageToken`, with the same other parameters, to fetch the next page, and keep doing so until a response has no `nextPageToken`; only then have you seen every transaction in the range.
nextPageToken (anyOf 2)nullAlternative
prevPageTokenJSONOptional
prevPageToken (anyOf 1)stringAlternativePresent when there is an earlier page. Pass it back as `pageToken`, with the same other parameters, to fetch the previous page.
prevPageToken (anyOf 2)nullAlternative
transactionsarrayRequired within parentThe transactions on this page: at most one page, whose size Books decides, so not necessarily every transaction in the date range.
transactions[]ModelEach itemExpand List a source account's transactions — response body — transactions item

Referenced models: List a source account's transactions — response body — transactions item

List a source account's transactions — response body — transactions item

FieldTypePresenceDescription and constraints
$objectRootA transaction imported into Books from a source account (a bank, card, or
other feed). Once posted, it has a journal entry with one line on the source
account's ledger (`lineEntryId`) and one or more `categorizationLines`. To
recategorize it, pass its `journalEntryId` and its current
`categorizationLines` IDs as the expected categorization.
amountJSONRequired within parent
amount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amount (allOf 2)JSONAll variants applyThe signed amount, in dollars. A positive amount posts on the source account's `debitCredit` side, increasing its ledger balance; a negative amount posts on the opposite side. Positive is money in for a Mercury bank account and a charge for a Mercury credit card; other source accounts follow their `debitCredit` and the signs their transactions were imported with.
attachmentsJSONOptional
attachments (anyOf 1)arrayAlternativeFiles attached to the Mercury transaction, such as receipts. Only included with `enrich=true`.
attachments (anyOf 1)[]ModelEach itemExpand List a source account's transactions — response body — transactions item attachments array item
attachments (anyOf 2)nullAlternative
cardLastFourDigitsJSONOptional
cardLastFourDigits (anyOf 1)stringAlternativeThe last four digits of the card used for the transaction. Only included with `enrich=true`.
cardLastFourDigits (anyOf 2)nullAlternative
categorizationLinesarrayRequired within parentThe line entries that categorize the transaction: every other line of its journal entry. Empty when the transaction has no journal entry.
categorizationLines[]ModelEach itemExpand Categorize or split transactions — response body — items item categorization Lines item
categorizationMethodJSONOptional
categorizationMethod (anyOf 1)JSONAlternative
categorizationMethod (anyOf 1) (allOf 1)stringAll variants applyKnown values: ai, rules, similarity, transferBetweenAccounts, uncategorized, user
categorizationMethod (anyOf 1) (allOf 2)JSONAll variants applyHow the transaction got its current category: `uncategorized` when no categorizer matched it, `user` when a person categorized it, and otherwise the automatic categorizer. Omitted when the transaction has not been categorized.
categorizationMethod (anyOf 2)nullAlternative
counterpartyNameJSONOptional
counterpartyName (anyOf 1)stringAlternativeThe name of the transaction's counterparty (who the money went to or came from). Only included with `enrich=true`.
counterpartyName (anyOf 2)nullAlternative
customCategoryIdJSONOptional
customCategoryId (anyOf 1)stringAlternativeThe identifier of the Mercury custom category assigned to the transaction. Only included with `enrich=true`.
customCategoryId (anyOf 2)nullAlternative
customCategoryNameJSONOptional
customCategoryName (anyOf 1)stringAlternativeThe name of the Mercury custom category assigned to the transaction. Only included with `enrich=true`.
customCategoryName (anyOf 2)nullAlternative
datetimeJSONRequired within parent
datetime (allOf 1)stringAll variants applyFormat: yyyy-mm-ddThh:MM:ssZ
datetime (allOf 2)JSONAll variants applyWhen the transaction happened, in UTC.
descriptionstringRequired within parentThe transaction's description, as imported from its source.
Format: size < 513
idstringRequired within parentThe unique identifier of the transaction.
journalEntryIdJSONOptional
journalEntryId (anyOf 1)stringAlternativeThe identifier of the transaction's journal entry. Omitted when the transaction has no journal entry, because it is not posted or its posting was deleted.
Format: base58 (max length 22)
journalEntryId (anyOf 2)nullAlternative
ledgerIdJSONOptional
ledgerId (anyOf 1)stringAlternativeThe identifier of the source account's ledger, which the transaction's own line entry posts to.
Format: base58 (max length 22)
ledgerId (anyOf 2)nullAlternative
lineEntryIdJSONOptional
lineEntryId (anyOf 1)stringAlternativeThe identifier of the transaction's own line entry, on the source account's ledger. Omitted when the transaction has no journal entry.
Format: base58 (max length 22)
lineEntryId (anyOf 2)nullAlternative
merchantTypeJSONOptional
merchantType (anyOf 1)stringAlternativeThe display name of the merchant type (Mercury category) automatically assigned to the transaction, such as `Software`. Only included with `enrich=true`.
merchantType (anyOf 2)nullAlternative
noteJSONOptional
note (anyOf 1)stringAlternativeThe note on the Mercury transaction. Only included with `enrich=true`.
note (anyOf 2)nullAlternative
personalbooleanRequired within parentWhether the transaction is a personal (non-business) transaction.
postedStatusJSONRequired within parent
postedStatus (allOf 1)stringAll variants applyKnown values: notPosted, posted, deleted
postedStatus (allOf 2)JSONAll variants applyWhether the transaction has been posted to the general ledger as a journal entry (`posted`), not yet (`notPosted`), or was posted and then deleted (`deleted`).
reviewStatusJSONRequired within parent
reviewStatus (allOf 1)stringAll variants applyKnown values: reviewed, unreviewed
reviewStatus (allOf 2)JSONAll variants applyWhether the transaction's categorization has been reviewed.
sourceAccountIdstringRequired within parentThe identifier of the source account the transaction belongs to.
Format: base58 (max length 22)
teamMemberIdJSONOptional
teamMemberId (anyOf 1)stringAlternativeThe identifier of the team member associated with the transaction, such as the cardholder. Only included with `enrich=true`.
teamMemberId (anyOf 2)nullAlternative
teamMemberNameJSONOptional
teamMemberName (anyOf 1)stringAlternativeThe full name of the team member associated with the transaction. Only included with `enrich=true`.
teamMemberName (anyOf 2)nullAlternative
transactionMethodKindJSONOptional
transactionMethodKind (anyOf 1)JSONAlternative
transactionMethodKind (anyOf 1) (allOf 1)ModelAll variants applyExpand List a source account's transactions — response body — transactions item transaction Method Kind string string
transactionMethodKind (anyOf 1) (allOf 2)JSONAll variants applyThe kind of Mercury transaction, such as a card payment or a wire. Only included with `enrich=true`.
transactionMethodKind (anyOf 2)nullAlternative

Referenced models: Create a product — response body — unit Price value, List a source account's transactions — response body — transactions item transaction Method Kind string string, Categorize or split transactions — response body — items item categorization Lines item, List a source account's transactions — response body — transactions item attachments array item

List a source account's transactions — response body — transactions item attachments array item

FieldTypePresenceDescription and constraints
$objectRootA file attached to the Mercury banking transaction behind a Books transaction.
downloadUrlstringRequired within parentA presigned URL for downloading the attachment, valid for 1 hour.
fileNamestringRequired within parentThe file name of the attachment.
idstringRequired within parentThe unique identifier of the attachment.

List a source account's transactions — response body — transactions item transaction Method Kind string string

FieldTypePresenceDescription and constraints
$stringRootKnown values: outgoingElectronicPayment, outgoingCheckPayment, endogenousOutgoingAchTransfer, endogenousIncomingAchTransfer, exogenousOutgoingAch, exogenousIncomingAch, incomingCredit, outgoingCredit, incomingDebit, outgoingDebit, internalTransfer, incomingCheck, outgoingInternationalWire, incomingInternationalWire, outgoingDomesticWire, incomingDomesticWire, wireFee, conversionFee, personalBankingSubscriptionFee, billingEngineSubscriptionFee, physicalCardUpgradeFee, exogenousOutgoingCheck, exogenousOutgoingWire, treasuryTransfer, investTransfer, currencyCloudReturn, internationalWirePartnerReturn, internalCreditAccountPayment, autoRoutingTransfer, ventureDebtFunding, ventureDebtRepayment, creditCashbackRewardsDeposit, externalCreditCashbackRewardsDeposit, interestPayment, outgoingProvisionalCredit, incomingProvisionalCredit, lineOfCreditFunding, lineOfCreditRepayment, lineOfCreditInterestRepayment, atmFeeReimbursement, atmFeeReimbursementReversal, expenseReimbursement, requestedPayment, exogenousWireDrawdown, incomingCreditAccountRepayment, cardIntlTransactionFee, cardIntlTransactionFeeRebate, cardIntlTransactionFeeReversal, cardIntlTransactionFeeRebateReversal, externalCreditAccountPayment, realtimePayment, outgoingRealTimePayment, balanceHold, linkedMercuryAccountTransfer

List bills (accounts payable) — response body

FieldTypePresenceDescription and constraints
$objectRootOne page of a Books instance's bills.
billsarrayRequired within parentThe bills on this page.
bills[]ModelEach itemExpand Edit a bill (accounts payable) — response body
nextPageTokenJSONOptional
nextPageToken (anyOf 1)stringAlternativePresent when more results match the request. Pass it back as `pageToken`, with the same other parameters, to fetch the next page, and keep doing so until a response has no `nextPageToken`.
nextPageToken (anyOf 2)nullAlternative
prevPageTokenJSONOptional
prevPageToken (anyOf 1)stringAlternativePresent when there is an earlier page. Pass it back as `pageToken`, with the same other parameters, to fetch the previous page.
prevPageToken (anyOf 2)nullAlternative

Referenced models: Edit a bill (accounts payable) — response body

List categorization rules — response body

FieldTypePresenceDescription and constraints
$objectRootA page of a Books instance's categorization rules, in priority order.
nextPageTokenJSONOptional
nextPageToken (anyOf 1)stringAlternativePass as `pageToken` to fetch the next page, or null on the last page.
nextPageToken (anyOf 2)nullAlternative
rulesarrayRequired within parentThe rules on this page, highest priority first. When several rules match a transaction, the first one applies. Rules Books can't represent are omitted.
rules[]ModelEach itemExpand List categorization rules — response body — rules item

Referenced models: List categorization rules — response body — rules item

List categorization rules — response body — rules / item / conditions / item / tag: amount contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions whose amount compares to a threshold (`tag`: `amount`). The amount is signed: money in (credits) is positive and money out (debits) is negative, and the threshold is compared against it as is, so `lessThan` `-50` matches outflows of more than $50. A range is two amount conditions on the same rule.
amountJSONRequired within parent
amount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amount (allOf 2)JSONAll variants applyThe threshold, in dollars. Signed like the transaction amount: positive for money in, negative for money out.
operatorJSONRequired within parent
operator (allOf 1)stringAll variants applyKnown values: lessThan, lessThanOrEqualTo, greaterThan, greaterThanOrEqualTo, equalTo
operator (allOf 2)JSONAll variants applyHow to compare the transaction amount to `amount`.

Referenced models: Create a product — response body — unit Price value

List categorization rules — response body — rules / item / conditions / item / tag: counterparty contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions whose counterparty name is exactly a name (`tag`: `counterparty`). Only Mercury transactions carry a counterparty.
namestringRequired within parentThe counterparty name the transaction must have, matched exactly.

List categorization rules — response body — rules / item / conditions / item / tag: credit Card contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions made with a Mercury credit card (`tag`: `creditCard`).
creditCardIdJSONRequired within parent
creditCardId (allOf 1)stringAll variants applyFormat: uuid
creditCardId (allOf 2)JSONAll variants applyThe ID of the credit card.

List categorization rules — response body — rules / item / conditions / item / tag: custom Category contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions whose current Mercury custom (expense) category is a category (`tag`: `customCategory`).
customCategoryIdJSONRequired within parent
customCategoryId (allOf 1)stringAll variants applyID for the category
Format: uuid
customCategoryId (allOf 2)JSONAll variants applyThe ID of the custom category.

List categorization rules — response body — rules / item / conditions / item / tag: debit Card contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions made with a Mercury debit card (`tag`: `debitCard`).
debitCardIdJSONRequired within parent
debitCardId (allOf 1)stringAll variants applyFormat: uuid
debitCardId (allOf 2)JSONAll variants applyThe ID of the debit card.

List categorization rules — response body — rules / item / conditions / item / tag: description contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions whose raw bank description contains a text, ignoring case (`tag`: `description`).
containsstringRequired within parentThe text the bank description must contain, ignoring case.

List categorization rules — response body — rules / item / conditions / item / tag: user contents

FieldTypePresenceDescription and constraints
$objectRootMatches transactions made by a team member (`tag`: `user`).
userIdJSONRequired within parent
userId (allOf 1)stringAll variants applyID for the user
Format: uuid
userId (allOf 2)JSONAll variants applyThe ID of the user who made the transaction.

List categorization rules — response body — rules item

FieldTypePresenceDescription and constraints
$objectRootA categorization rule: when a transaction matches all its `conditions`, Books applies its `outputs`, such as categorizing the transaction to a ledger. Only rules that Books can represent are listed: a rule with a condition or output outside this vocabulary (for example, an accounting-integration rule that sets a Mercury custom category), or whose GL account no longer maps to a Books ledger, is omitted.
conditionsarrayRequired within parentThe conditions a transaction must match. At least one; every condition must match (logical AND). There is no OR: an "any of" rule is written as separate rules.
Minimum items: 1
conditions[]ModelEach itemExpand List categorization rules — response body — rules item conditions item
glCodeNameJSONOptional
glCodeName (anyOf 1)stringAlternativeThe display name of the general ledger (GL) account the rule categorizes to. Absent when the rule sets none.
glCodeName (anyOf 2)nullAlternative
idstringRequired within parentThe rule's stable identifier.
Format: uuid
lastAppliedJSONOptional
lastApplied (anyOf 1)JSONAlternative
lastApplied (anyOf 1) (allOf 1)stringAll variants applyFormat: yyyy-mm-ddThh:MM:ssZ
lastApplied (anyOf 1) (allOf 2)JSONAll variants applyThe last time the rule matched a transaction. Absent if it never has.
lastApplied (anyOf 2)nullAlternative
outputsarrayRequired within parentWhat the rule applies to a matching transaction. At least one.
Minimum items: 1
outputs[]ModelEach itemExpand List categorization rules — response body — rules item outputs item
statusJSONRequired within parent
status (allOf 1)stringAll variants applyKnown values: active, inactive, invalid
status (allOf 2)JSONAll variants applyWhether the rule currently categorizes transactions.

Referenced models: List categorization rules — response body — rules item conditions item, List categorization rules — response body — rules item outputs item

List categorization rules — response body — rules item conditions item

FieldTypePresenceDescription and constraints
$JSONRootA condition a transaction must match for a categorization rule to apply. `tag` says which condition it is (`amount`, `description`, `counterparty`, `debitCard`, `creditCard`, `user`, or `customCategory`) and `contents` holds its fields. A rule's conditions must all match; there is no OR, so an "any of" rule is written as separate rules.
$ (anyOf 1)objectAlternative
$ (anyOf 1).contentsModelRequired within parentExpand List categorization rules — response body — rules / item / conditions / item / tag: amount contents
$ (anyOf 1).tagstringRequired within parentKnown values: amount
$ (anyOf 2)objectAlternative
$ (anyOf 2).contentsModelRequired within parentExpand List categorization rules — response body — rules / item / conditions / item / tag: description contents
$ (anyOf 2).tagstringRequired within parentKnown values: description
$ (anyOf 3)objectAlternative
$ (anyOf 3).contentsModelRequired within parentExpand List categorization rules — response body — rules / item / conditions / item / tag: counterparty contents
$ (anyOf 3).tagstringRequired within parentKnown values: counterparty
$ (anyOf 4)objectAlternative
$ (anyOf 4).contentsModelRequired within parentExpand List categorization rules — response body — rules / item / conditions / item / tag: debit Card contents
$ (anyOf 4).tagstringRequired within parentKnown values: debitCard
$ (anyOf 5)objectAlternative
$ (anyOf 5).contentsModelRequired within parentExpand List categorization rules — response body — rules / item / conditions / item / tag: credit Card contents
$ (anyOf 5).tagstringRequired within parentKnown values: creditCard
$ (anyOf 6)objectAlternative
$ (anyOf 6).contentsModelRequired within parentExpand List categorization rules — response body — rules / item / conditions / item / tag: user contents
$ (anyOf 6).tagstringRequired within parentKnown values: user
$ (anyOf 7)objectAlternative
$ (anyOf 7).contentsModelRequired within parentExpand List categorization rules — response body — rules / item / conditions / item / tag: custom Category contents
$ (anyOf 7).tagstringRequired within parentKnown values: customCategory

Referenced models: List categorization rules — response body — rules / item / conditions / item / tag: amount contents, List categorization rules — response body — rules / item / conditions / item / tag: counterparty contents, List categorization rules — response body — rules / item / conditions / item / tag: credit Card contents, List categorization rules — response body — rules / item / conditions / item / tag: custom Category contents, List categorization rules — response body — rules / item / conditions / item / tag: debit Card contents, List categorization rules — response body — rules / item / conditions / item / tag: description contents, List categorization rules — response body — rules / item / conditions / item / tag: user contents

List categorization rules — response body — rules item outputs item

FieldTypePresenceDescription and constraints
$objectRootWhat a categorization rule does to a transaction it matches. `tag` says which output it is and `contents` holds its fields; today the only output is `setLedger`, which categorizes the transaction to the ledger `contents.ledgerId`.
contentsModelRequired within parentExpand List categorization rules — response body — rules item outputs item contents
tagstringRequired within parentKnown values: setLedger

Referenced models: List categorization rules — response body — rules item outputs item contents

List categorization rules — response body — rules item outputs item contents

FieldTypePresenceDescription and constraints
$objectRootSets the transaction's categorization to a ledger, i.e. a general ledger (GL) account (`tag`: `setLedger`).
ledgerIdstringRequired within parentThe ID of the ledger matching transactions are categorized to.
Format: base58 (max length 22)

List invoices (accounts receivable) — response body

FieldTypePresenceDescription and constraints
$objectRootOne page of a Books instance's invoices.
invoicesarrayRequired within parentThe invoices on this page.
invoices[]ModelEach itemExpand Edit an invoice (accounts receivable) — response body — amount Remaining, customer, display Status, due Date, effective Date, gross Amount, id, lines, notes, payment Applications, reference Number, status
nextPageTokenJSONOptional
nextPageToken (anyOf 1)stringAlternativePresent when more results match the request. Pass it back as `pageToken`, with the same other parameters, to fetch the next page, and keep doing so until a response has no `nextPageToken`.
nextPageToken (anyOf 2)nullAlternative
prevPageTokenJSONOptional
prevPageToken (anyOf 1)stringAlternativePresent when there is an earlier page. Pass it back as `pageToken`, with the same other parameters, to fetch the previous page.
prevPageToken (anyOf 2)nullAlternative

Referenced models: Edit an invoice (accounts receivable) — response body — amount Remaining, customer, display Status, due Date, effective Date, gross Amount, id, lines, notes, payment Applications, reference Number, status

List journal entries — response body

FieldTypePresenceDescription and constraints
$objectRootResponse containing a paginated list of journal entries.
journalEntriesarrayRequired within parentThe journal entries matching the query
journalEntries[]ModelEach itemExpand List journal entries — response body — journal Entries item
nextPageTokenJSONOptional
nextPageToken (anyOf 1)stringAlternativeToken to fetch the next page of results
nextPageToken (anyOf 2)nullAlternative
prevPageTokenJSONOptional
prevPageToken (anyOf 1)stringAlternativeToken to fetch the previous page of results
prevPageToken (anyOf 2)nullAlternative

Referenced models: List journal entries — response body — journal Entries item

List journal entries — response body — journal Entries item

FieldTypePresenceDescription and constraints
$objectRoot
accrualSourceJSONOptional
accrualSource (anyOf 1)JSONAlternative
accrualSource (anyOf 1) (allOf 1)ModelAll variants applyExpand List journal entries — response body — journalEntries / item / accrualSource / type: invoice, bill, payroll type: invoice, bill, payroll
accrualSource (anyOf 1) (allOf 2)JSONAll variants applyThe accrual source for the journal entry, if applicable. Included in expanded responses.
accrualSource (anyOf 2)nullAlternative
autocatResultJSONOptional
autocatResult (anyOf 1)JSONAlternative
autocatResult (anyOf 1) (allOf 1)ModelAll variants applyExpand List journal entries — response body — journal Entries item autocat Result confidence, created At, id, ledger Id, method, rule Id confidence, created At, id, ledger Id, method, rule Id
autocatResult (anyOf 1) (allOf 2)JSONAll variants applyHow the transaction underlying this journal entry was auto-categorized
(method, confidence, and rule), if any. Null for manual journal entries,
entries not categorized by the autocat pipeline, and entries a user has
since manually recategorized. Included in expanded responses.
autocatResult (anyOf 2)nullAlternative
categorizationStatusJSONRequired within parent
categorizationStatus (allOf 1)stringAll variants applyKnown values: pending, delayed, completed, notAttempted
categorizationStatus (allOf 2)JSONAll variants applyThe categorization lifecycle status of the journal entry.

- `pending`: Uncategorized JE posted at sync, auto-categorization not yet resolved.
- `delayed`: Auto-categorization fell back to uncategorized; can still transition to `completed`.
- `completed`: Categorization settled (a real category applied, an explicit uncategorized result, or a manually-created JE).
- `notAttempted`: Auto-categorization is disabled for the instance, so the JE was booked uncategorized and settled at once; no result will ever arrive.
creationDateJSONRequired within parent
creationDate (allOf 1)stringAll variants applyFormat: yyyy-mm-ddThh:MM:ssZ
creationDate (allOf 2)JSONAll variants applyThe date and time the journal entry was created
creationSourceJSONRequired within parent
creationSource (allOf 1)stringAll variants applyKnown values: manual, transaction, accrual, paymentApplication, legacy, scheduledAccrual
creationSource (allOf 2)JSONAll variants applyThe source that created a journal entry.

- `manual`: Created manually by the user via the UI.
- `transaction`: Created automatically from a transaction categorization (e.g., Plaid sync).
- `accrual`: Created automatically as part of an accrual workflow.
- `paymentApplication`: Created automatically as part of a payment application workflow.
- `legacy`: Created automatically from the old AR/AP system (receivables/payables).
datetimeJSONRequired within parent
datetime (allOf 1)stringAll variants applyFormat: yyyy-mm-ddThh:MM:ssZ
datetime (allOf 2)JSONAll variants applyThe datetime the Journal Entry was created in UTC time
descriptionstringRequired within parentAn arbitrary string on the object, useful for displaying to the user.
Format: size < 513
idstringRequired within parentThe unique ID of the object.
Format: base58 (max length 22)
isOpeningBalancebooleanRequired within parentWhether the Journal Entry represents an opening balance.
lineEntriesJSONOptional
lineEntries (anyOf 1)arrayAlternativeList of Line Entries. Included in expanded responses.
lineEntries (anyOf 1)[]ModelEach itemExpand List journal entries — response body — journal Entries item line Entries array item
lineEntries (anyOf 2)nullAlternative
lineEntryIdsJSONOptional
lineEntryIds (anyOf 1)arrayAlternativeThe ids of the Line Entries detailing the Journal Entry's movement of value.
lineEntryIds (anyOf 1)[]stringEach itemunique id for a line entry; emitted as base-58, but a base-16 UUID is also accepted
Format: base58 (max length 22)
lineEntryIds (anyOf 2)nullAlternative
reviewStatusJSONRequired within parent
reviewStatus (allOf 1)stringAll variants applyKnown values: unreviewed, reviewed
reviewStatus (allOf 2)JSONAll variants applyWhether the user has reviewed the journal entry. New journal entries default to `unreviewed`.
reviewStatusSetAtJSONOptional
reviewStatusSetAt (anyOf 1)JSONAlternative
reviewStatusSetAt (anyOf 1) (allOf 1)stringAll variants applyFormat: yyyy-mm-ddThh:MM:ssZ
reviewStatusSetAt (anyOf 1) (allOf 2)JSONAll variants applyWhen the review status was last set. Null if the journal entry has never been reviewed.
reviewStatusSetAt (anyOf 2)nullAlternative
transferJSONOptional
transfer (anyOf 1)JSONAlternative
transfer (anyOf 1) (allOf 1)ModelAll variants applyExpand List journal entries — response body — journal Entries item transfer from Entry, to Entry from Entry, to Entry
transfer (anyOf 1) (allOf 2)JSONAll variants applyThe transfer linking this journal entry to the journal entry on the other
side of a transfer between accounts (e.g. Stripe Payouts), if any. Included in expanded responses.
transfer (anyOf 2)nullAlternative

Referenced models: List journal entries — response body — journalEntries / item / accrualSource / type: invoice, bill, payroll type: invoice, bill, payroll, List journal entries — response body — journal Entries item autocat Result confidence, created At, id, ledger Id, method, rule Id confidence, created At, id, ledger Id, method, rule Id, List journal entries — response body — journal Entries item line Entries array item, List journal entries — response body — journal Entries item transfer from Entry, to Entry from Entry, to Entry

List journal entries — response body — journal Entries item autocat Result confidence, created At, id, ledger Id, method, rule Id confidence, created At, id, ledger Id, method, rule Id

FieldTypePresenceDescription and constraints
$objectRootThe auto-categorization decision recorded for the transaction underlying a
journal entry: how its category ledger was assigned. Mirrors AutocatResult
from teal-api:teal_api/transaction/schemas.py.
confidenceJSONRequired within parent
confidence (anyOf 1)numberAlternativeThe autocat model's confidence in the assignment, 0.0 to 1.0.
Format: double
confidence (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
createdAtJSONRequired within parent
createdAt (allOf 1)stringAll variants applyFormat: yyyy-mm-ddThh:MM:ssZ
createdAt (allOf 2)JSONAll variants applyWhen the autocat result was recorded, in UTC.
idstringRequired within parentThe unique identifier of the autocat result.
ledgerIdstringRequired within parentThe category ledger autocat assigned to the transaction.
Format: base58 (max length 22)
methodJSONRequired within parent
method (allOf 1)stringAll variants applyKnown values: rule, transactionKindDefaults, similarity, embedding, llmClassifier, transfersBetweenAccounts
method (allOf 2)JSONAll variants applyHow the category was assigned (rule/transactionKindDefaults/similarity/embedding/llmClassifier/transfersBetweenAccounts).
ruleIdJSONOptional
ruleId (anyOf 1)stringAlternativeIf method is `rule`, the id of the rule that matched; otherwise null. An
opaque identifier supplied by the external categorizer.
ruleId (anyOf 2)nullAlternative

List journal entries — response body — journal Entries item line Entries array item

FieldTypePresenceDescription and constraints
$objectRoot
accrualSourceJSONOptional
accrualSource (anyOf 1)JSONAlternative
accrualSource (anyOf 1) (allOf 1)ModelAll variants applyExpand List journal entries — response body — journalEntries / item / lineEntries / array / item / accrualSource / type: invoice, bill, payroll type: invoice, bill, payroll
accrualSource (anyOf 1) (allOf 2)JSONAll variants applyExpandable. The accrual source for the line entry, if any.
accrualSource (anyOf 2)nullAlternative
amountJSONRequired within parent
amount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amount (allOf 2)JSONAll variants applyThe value of the line entry in decimal dollar cents.
categorizationStatusJSONRequired within parent
categorizationStatus (allOf 1)stringAll variants applyKnown values: pending, delayed, completed, notAttempted
categorizationStatus (allOf 2)JSONAll variants applyWhether the associated journal entry is still awaiting an auto-categorization
result: 'pending' (awaiting), 'delayed' (timed out, a late result may still
resolve it), 'completed' (settled, whether by a result or by being manually
created), or 'notAttempted' (auto-categorization is disabled for the
instance, so no result was ever requested). Both line entries of a journal
entry share this value.
datetimeJSONRequired within parent
datetime (allOf 1)stringAll variants applyFormat: yyyy-mm-ddThh:MM:ssZ
datetime (allOf 2)JSONAll variants applyThe datetime the Line Entry was created in UTC time.
debitCreditJSONRequired within parent
debitCredit (allOf 1)stringAll variants applyKnown values: debit, credit
debitCredit (allOf 2)JSONAll variants applyIndicates if the amount is a credit or debit.
descriptionJSONOptional
description (anyOf 1)stringAlternativeAn arbitrary string on the object, useful for displaying to the user or for categorization.
Format: size < 4001
description (anyOf 2)nullAlternative
editablebooleanRequired within parentIndicates if the Line Entry can be manually added or removed from a Ledger, as dictated by the `editable` property on the Ledger.
idstringRequired within parentThe unique ID of the object.
Format: base58 (max length 22)
journalEntryDescriptionstringRequired within parentAn arbitrary string on the object, useful for displaying to the user.
Format: size < 513
journalEntryIdstringRequired within parentThe ID of the associated Journal Entry.
Format: base58 (max length 22)
ledgerIdstringRequired within parentThe ID of the Line Entry's Ledger.
Format: base58 (max length 22)
ledgerNamestringRequired within parentThe name of the Line Entry's Ledger.
opposingLedgerIdsJSONOptional
opposingLedgerIds (anyOf 1)arrayAlternativeExpandable. IDs of the ledgers on the other side(s) of the line entry with opposite debit/credit.
opposingLedgerIds (anyOf 1)[]stringEach itemunique id for a ledger; emitted as base-58, but a base-16 UUID is also accepted
Format: base58 (max length 22)
opposingLedgerIds (anyOf 2)nullAlternative
paymentApplicationsJSONOptional
paymentApplications (anyOf 1)arrayAlternativePayments applied using the Line Entry — source-level (bill/invoice/closing
adjustment) and line-level (payroll), tagged on `type`. Contains only the
kinds that were expanded: request both `lineEntriesPaymentApplications` and
`lineEntriesLinePaymentApplications` for the full set.
paymentApplications (anyOf 1)[]ModelEach itemExpand List journal entries — response body — journal Entries item line Entries array item payment Applications array item
paymentApplications (anyOf 2)nullAlternative
relatedLineEntryIdJSONOptional
relatedLineEntryId (anyOf 1)stringAlternativeIf the Line Entry is identified as a transfer between accounts, the ID
of the Line Entry in the opposing Ledger. Related guide:
[Auto-categorization](https://docs.teal.dev/guides/platform/categorization/pipeline#transfers-between-accounts)
Format: base58 (max length 22)
relatedLineEntryId (anyOf 2)nullAlternative
sortOrderJSONOptional
sortOrder (anyOf 1)JSONAlternative
sortOrder (anyOf 1) (anyOf 1)integerAlternativeThe position of the line entry within its journal entry, used to determine display order. May be null for rows created before sort_order was introduced.
Maximum: 9223372036854776000
Minimum: -9223372036854776000
sortOrder (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
sortOrder (anyOf 2)nullAlternative
tagsJSONOptional
tags (anyOf 1)arrayAlternativeThe tags associated with the line entry, if any.
tags (anyOf 1)[]ModelEach itemExpand List line entries (general ledger activity) across ledgers — response body — line Entries item tags item
tags (anyOf 2)nullAlternative
transactionJSONOptional
transaction (anyOf 1)JSONAlternative
transaction (anyOf 1) (allOf 1)ModelAll variants applyExpand List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind
transaction (anyOf 1) (allOf 2)JSONAll variants applyExpandable. The associated Transaction object, if one exists.
transaction (anyOf 2)nullAlternative
transactionIdJSONOptional
transactionId (anyOf 1)stringAlternativeThe ID of the associated Transaction, if one exists.
transactionId (anyOf 2)nullAlternative

Referenced models: List journal entries — response body — journalEntries / item / lineEntries / array / item / accrualSource / type: invoice, bill, payroll type: invoice, bill, payroll, List journal entries — response body — journal Entries item line Entries array item payment Applications array item, List line entries (general ledger activity) across ledgers — response body — line Entries item tags item, List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind, Create a product — response body — unit Price value

List journal entries — response body — journal Entries item line Entries array item payment Applications array item

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand List journal entries — response body — journalEntries / item / lineEntries / array / item / paymentApplications / array / item / sourceType: bank Transaction, customer Credit, manual, status: proposed, confirmed, rejected — bulkcreatebooksjournalentries__Books Line Entry Line Payment Application
$ (anyOf 2)ModelAlternativeExpand List journal entries — response body — journalEntries / item / lineEntries / array / item / paymentApplications / array / item / sourceType: bank Transaction, customer Credit, manual, status: proposed, confirmed, rejected — bulkcreatebooksjournalentries__Books Line Entry Payment Application Source

Referenced models: List journal entries — response body — journalEntries / item / lineEntries / array / item / paymentApplications / array / item / sourceType: bank Transaction, customer Credit, manual, status: proposed, confirmed, rejected — bulkcreatebooksjournalentries__Books Line Entry Line Payment Application, List journal entries — response body — journalEntries / item / lineEntries / array / item / paymentApplications / array / item / sourceType: bank Transaction, customer Credit, manual, status: proposed, confirmed, rejected — bulkcreatebooksjournalentries__Books Line Entry Payment Application Source

List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind

FieldTypePresenceDescription and constraints
$objectRoot
amountJSONRequired within parent
amount (allOf 1)ModelAll variants applyExpand Create a product — response body — unit Price value
amount (allOf 2)JSONAll variants applythe value of the transaction in decimal dollar cents.
attachmentsJSONOptional
attachments (anyOf 1)arrayAlternativeAttachments associated with the transaction from Mercury Banking, if any. Only included if enrichment is requested.
attachments (anyOf 1)[]ModelEach itemExpand List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind attachments array item
attachments (anyOf 2)nullAlternative
cardLastFourDigitsJSONOptional
cardLastFourDigits (anyOf 1)stringAlternativeThe last four digits of the card used for the transaction, if applicable. Only included if enrichment is requested.
cardLastFourDigits (anyOf 2)nullAlternative
categorizationMethodJSONOptional
categorizationMethod (anyOf 1)JSONAlternative
categorizationMethod (anyOf 1) (allOf 1)stringAll variants applyKnown values: aI, rules, similarity, transferBetweenAccounts, uncategorized, user
categorizationMethod (anyOf 1) (allOf 2)JSONAll variants applyhow the transaction was assigned its category
categorizationMethod (anyOf 2)nullAlternative
counterpartyNameJSONOptional
counterpartyName (anyOf 1)stringAlternativeThe name of the transaction counterparty (To/From), if available. Only included if enrichment is requested.
counterpartyName (anyOf 2)nullAlternative
customCategoryIdJSONOptional
customCategoryId (anyOf 1)stringAlternativeThe unique id of the Banking custom category assigned to this transaction, if any. Only included if enrichment is requested.
customCategoryId (anyOf 2)nullAlternative
customCategoryNameJSONOptional
customCategoryName (anyOf 1)stringAlternativeThe display name of the Banking custom category assigned to this transaction, if any. Only included if enrichment is requested.
customCategoryName (anyOf 2)nullAlternative
datetimeJSONRequired within parent
datetime (allOf 1)stringAll variants applyFormat: yyyy-mm-ddThh:MM:ssZ
datetime (allOf 2)JSONAll variants applythe UTC datetime that the Transaction was created.
descriptionstringRequired within parentan arbitrary string on the object, useful for displaying information
to the user. Descriptions over 512 characters will be truncated.
Format: size < 513
externalMetadataIdJSONOptional
externalMetadataId (anyOf 1)stringAlternativethe TransactionMetadataId banking identifier for this transaction
externalMetadataId (anyOf 2)nullAlternative
idstringRequired within parentthe unique identifier for this transaction
journalEntryIdJSONOptional
journalEntryId (anyOf 1)stringAlternativethe ID of the journal entry that the transaction's line entry is
associated with.
Format: base58 (max length 22)
journalEntryId (anyOf 2)nullAlternative
ledgerIdJSONOptional
ledgerId (anyOf 1)stringAlternativethe ID of the financial account ledger associated with the transaction.
Format: base58 (max length 22)
ledgerId (anyOf 2)nullAlternative
lineEntryIdJSONOptional
lineEntryId (anyOf 1)stringAlternativethe ID of the line entry associated with the transaction
Format: base58 (max length 22)
lineEntryId (anyOf 2)nullAlternative
merchantTypeJSONOptional
merchantType (anyOf 1)JSONAlternative
merchantType (anyOf 1) (allOf 1)ModelAll variants applyExpand List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind merchant Type category, display, icon category, display, icon
merchantType (anyOf 1) (allOf 2)JSONAll variants applyThe merchant type (Mercury category) automatically assigned to the transaction, along with its display name and icon, if any. Only included if enrichment is requested.
merchantType (anyOf 2)nullAlternative
noteJSONOptional
note (anyOf 1)stringAlternativeA note on the transaction set in Mercury Banking, if any. Only included if enrichment is requested.
note (anyOf 2)nullAlternative
opposingLineEntryIdsJSONOptional
opposingLineEntryIds (anyOf 1)arrayAlternativea list of IDs of all the line entries objects in the journal entry with
the opposite debit/credit status. For example if the transaction's line
entry is a debit this opposing line entries will be credit line entries.
opposingLineEntryIds (anyOf 1)[]stringEach itemunique id for a line entry; emitted as base-58, but a base-16 UUID is also accepted
Format: base58 (max length 22)
opposingLineEntryIds (anyOf 2)nullAlternative
personalbooleanRequired within parentwhether the transaction is a non-business personal transaction.
postedStatusJSONRequired within parent
postedStatus (allOf 1)stringAll variants applyKnown values: notPosted, posted, deleted
postedStatus (allOf 2)JSONAll variants applyindicates if the corresponding journal entry and line entries for the
transaction have been created.
reviewStatusJSONRequired within parent
reviewStatus (allOf 1)stringAll variants applyKnown values: reviewed, unreviewed
reviewStatus (allOf 2)JSONAll variants applyindicates if the transaction has been reviewed.
sourceAccountIdstringRequired within parentthe ID of the source account where the transaction is stored.
Format: base58 (max length 22)
teamMemberIdJSONOptional
teamMemberId (anyOf 1)stringAlternativeThe unique id of the team member associated with this transaction, if any. Only included if enrichment is requested.
teamMemberId (anyOf 2)nullAlternative
teamMemberNameJSONOptional
teamMemberName (anyOf 1)stringAlternativeThe full name of the team member associated with this transaction, if any. Only included if enrichment is requested.
teamMemberName (anyOf 2)nullAlternative
transactionMethodKindJSONOptional
transactionMethodKind (anyOf 1)JSONAlternative
transactionMethodKind (anyOf 1) (allOf 1)ModelAll variants applyExpand List a source account's transactions — response body — transactions item transaction Method Kind string string
transactionMethodKind (anyOf 1) (allOf 2)JSONAll variants applyThe kind of the Mercury Banking transaction, if available. Only included if enrichment is requested.
transactionMethodKind (anyOf 2)nullAlternative

Referenced models: List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind attachments array item, Create a product — response body — unit Price value, List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind merchant Type category, display, icon category, display, icon, List a source account's transactions — response body — transactions item transaction Method Kind string string

List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind attachments array item

FieldTypePresenceDescription and constraints
$objectRootAn attachment on a Mercury transaction, including its ID, filename, and a signed download URL.
downloadUrlstringRequired within parentA presigned URL for downloading the attachment (valid for 1 hour).
fileNamestringRequired within parentThe filename of the attachment.
idstringRequired within parentThe unique identifier of the attachment.

List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind merchant Type category, display, icon category, display, icon

FieldTypePresenceDescription and constraints
$objectRootBundles a mercury category with a prettified display name and icon for clients.

This type is intended to be used in API responses, to avoid needing clients to hardcode information like how
categories' names and icons should be displayed.
categoryJSONRequired within parent
category (allOf 1)ModelAll variants applyExpand Get a card — response body — category Locks item
category (allOf 2)JSONAll variants applythe canonical mercury category
displaystringRequired within parentprettified display name for category
iconJSONRequired within parent
icon (allOf 1)ModelAll variants applyExpand List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind merchant Type category, display, icon category, display, icon icon string
icon (allOf 2)JSONAll variants applycorresponding icon type

Referenced models: Get a card — response body — category Locks item, List journal entries — response body — journal Entries item line Entries array item transaction amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind amount, attachments, card Last Four Digits, categorization Method, counterparty Name, custom Category Id, custom Category Name, datetime, description, external Metadata Id, id, journal Entry Id, ledger Id, line Entry Id, merchant Type, note, opposing Line Entry Ids, personal, posted Status, review Status, source Account Id, team Member Id, team Member Name, transaction Method Kind merchant Type category, display, icon category, display, icon icon string

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.