Docs

Add Transaction

POST /events/{eventId}/transactions

POST/events/{eventId}/transactions

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Creates a new transaction on the event. Transactions are double-entry: each one moves money from a debit account (source) to a credit account (destination). Both accounts must already exist on this event.

Creating a transaction automatically recalculates the balance and cash flow projections on both linked accounts.

Requires EventAccountingAdmin permission on the event.

Path Parameters

FieldTypeRequiredDescription
eventIdGuidRequiredThe ID of the event.

Request Body

FieldTypeRequiredDescription
namestringRequiredThe transaction's display name.
dateDateTimeRequiredThe date of the transaction.
statestringRequiredInitial state. One of: `Quoted`, `Committed`, `Paid`, `Excluded`.
debitAccountGuidRequiredThe ID of the account money flows out of. Must belong to this event.
creditAccountGuidRequiredThe ID of the account money flows into. Must belong to this event.
quotedAmountintRequiredThe estimated amount, in cents. Must be ≥ 0.
invoicedAmountintRequiredThe invoiced/committed amount, in cents. Must be ≥ 0. Use `0` when state is `Quoted`.
quoteFileIdGuidRequiredFile ID for the quote document. Pass `00000000-0000-0000-0000-000000000000` if none.
invoiceFileIdGuidRequiredFile ID for the invoice document. Pass `00000000-0000-0000-0000-000000000000` if none.

Transaction States

StateWhen to use
QuotedInitial estimate. Set invoicedAmount to 0.
CommittedConfirmed with an invoice. Populate invoicedAmount.
PaidMoney has moved. Contributes to account balance.
ExcludedExcluded from all projections and balance calculations.

Example Request

{
  "name": "Venue Deposit",
  "date": "2026-03-15T00:00:00Z",
  "state": "Quoted",
  "debitAccount": "acct-guid-001",
  "creditAccount": "acct-guid-002",
  "quotedAmount": 100000,
  "invoicedAmount": 0,
  "quoteFileId": "00000000-0000-0000-0000-000000000000",
  "invoiceFileId": "00000000-0000-0000-0000-000000000000"
}

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token, or caller lacks EventAccountingAdmin.
NOT_FOUND404Debit or credit account not found on this event.
BAD_REQUEST400Invalid state, negative amount, or missing required field.