Exclude a transaction (PG-p08-014)
Changed onA signed-in accountant excludes a bank row (every API key, the service token included, is refused: 404). The row stays listed, never deleted, with metadata.exclusion = {reason, note, byUserId, at, previousStatus, voidedJournalEntryIds, reversalPartnerId?} and status categorized; its posted journal entries are voided (adjustment reason transaction_excluded:<reason>), open transfer matches are rejected, one audit row is written per row and the GL balance cache is rebuilt, all in one database transaction; nothing posts for it while excluded, and it leaves the "Not posted yet" filter and the review counts. Reasons (Lead ruling, #2587): duplicate, one row; reversed_by_bank, with partnerTransactionId, the charge and its reversal together (same bank account, equal amount, opposite direction; one side alone 422 REVERSAL_PARTNER_REQUIRED or REVERSAL_PARTNER_MISMATCH), both leaving the bank-side reconciliation; personal, only on a personal bank account (on a business account 422 PERSONAL_CHARGE_REQUIRES_OWNERS_DRAW: recategorize it to Owner's Draw or Due from Owner instead, so the bank still ties to its statement). Refused: an excluded row (409 TRANSACTION_ALREADY_EXCLUDED), a reconciled row or entry (422), a row or entry in a closed or filing-locked period (422 TRANSACTION_EXCLUSION_PERIOD_CLOSED / _LOCKED), a document-matched row, an applied transfer match or an entry shared with another source (409), another writer holding the month (409 WRITER_LOCK_HELD).
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
reversed_by_bank only, and required there: the other side.
Response
The excluded rows, the entries voided and the transfer matches rejected
Changes
- info
endpoint added
- info