Decide a QuickBooks change (#2642)
Changed ontake_qbo deactivates the link so the next activity import re-imports QuickBooks' version, and reverses Median's old entry (followupStatus reversed). For an invoice or bill, its AR/AP item is voided with its entry, in one transaction, only when the item is open with nothing paid, applied or scheduled against it; otherwise followupStatus stays reversal_pending for a person. A service key taking QuickBooks' version of an invoice or bill gets 403 QUICKBOOKS_CHANGE_REVIEW_ARAP_PERSON_ONLY. keep_median keeps Median's version. When QuickBooks changed only a line's account or class or the memo of a pulled Purchase/Deposit, a draft write-back batch restoring Median's values is prepared (writeback_requested; it still needs approval and posting). Otherwise the restore stays writeback_pending with followupReason (client_must_correct_quickbooks or writeback_not_possible). dismiss records the reason and changes nothing now in Median or QuickBooks. For a change (not a deletion), Median's link then approves the reviewed QuickBooks version, so later reads and the activity import no longer flag it as changed. For an object Median pushed, it leaves the outstanding count at once, and the bank-feed push still writes Median's category to QuickBooks whenever the transaction changed after Median's last write to it, including before the dismissal. For an object Median pulled, it leaves the outstanding count with the next activity batch, and Median's entry keeps the earlier version; only the general-ledger parity check still shows a difference. A reason is required; the actor and time are recorded. When expectedAfterSourceObjectId is given and QuickBooks changed again since, or the review is no longer open, returns 409; likewise when expectedAfterEconomicSha256 is given and the review's afterEconomicSha256 moved (a journal-only review keeps its source version while QuickBooks rewrites its journal).
Request
- Base URLhttps://api.medianfi.com/api/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
Path parameters
Request body
Response
The resolved review
Changes
- info
added the new optional request property
expectedAfterEconomicSha256
- info