Accountants

What QuickBooks would receive to create one Median account that has no QuickBooks counterpart (#3605)

Changed on

The single-account create (#3061) for a new or established QuickBooks file, judged exactly as the chart push judges that one account placed top-level: it is refused unless the plan for it is create (an active Median account, not mapped, not held by another batch, no QuickBooks account with its number or name, and no QuickBooks default such as Accounts Receivable to map it to). The account is created top-level even when it has a Median parent. payload is the QuickBooks Account body (Name, AcctNum = Median code, AccountType/AccountSubType from the Median detail type) and requestSha256 its hash; newerRunStatus is non-null while a QuickBooks read newer than the completed one is queued, running or failed, or completed when it completed during this request (preparing is then refused; retry). Read-only: it creates no batch, journal or mapping and makes no QuickBooks call. 422 QUICKBOOKS_ACCOUNT_CREATE_NOT_FOUND when the account is not an active account of this company, QUICKBOOKS_ACCOUNT_CREATE_REFUSED when Median would map or skip it instead (reason in the problem carries the chart push reason code), BUSINESS_RULE_VIOLATION when it would be a Bank or Credit Card account whose GL account cannot back its QuickBooks reconciliation account (the check verify runs before mapping it: the GL account is inactive, locked, non-postable or a system account, or a bank row already on it is personal, of another entity or currency, or of the other bank or card kind), QUICKBOOKS_CHART_PUSH_NO_INVENTORY before a completed QuickBooks read, QUICKBOOKS_WRITEBACK_NO_CUTOFF before a posting cutoff is set, QUICKBOOKS_LEDGER_NOT_CONNECTED when QuickBooks is not connected.

get/accountant/companies/{customerId}/integrations/quickbooks/writebacks/account-create

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

customerId, string uuid required

Query parameters

glAccountId, string uuid required

The Median GL account to create in QuickBooks. No other query parameter is accepted.

Response

The single-account create preview

object required
success, true required
data, object required

Changes