Accountants

Set or remove the earliest date Median may write to QuickBooks (#5895)

Changed on

Separate from the posting cutoff, which keeps deciding what Median imports and posts. Median refuses every write dated before earliestDate (or with no readable date) when it is previewed or prepared, and checks the saved date again right before every write request to QuickBooks, resends included. If the date changed or can't be read, nothing is sent until it is checked again. An item already marked sending when the date is saved may still go out. Everything else is checked against the new date. A delete is also refused unless Median has read the exact version it would delete. An item that may already be in QuickBooks keeps its state for a person. A creation of an account has no date and is unaffected. null removes the limit. Needs a signed-in, assigned accountant (403 or 404 for a service principal). Every change writes an audit_logs row (entity_type company).

post/accountant/companies/{customerId}/integrations/quickbooks/writeback-earliest-date

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Request body

object required
earliestDate, string date nullable required
expectedEarliestDate, string date nullable required

The date being replaced

reason, string required

Response

The earliest write date as now recorded (null when there is no limit)

object required
success, true required
data, object required

Changes