Accountants

Cancel a draft or approved QuickBooks write-back batch (#2642)

Changed on

Releases the batch's entries for a new batch and records who cancelled it and when. 409 once posting has started, with one exception (#5669). A person (not a service token, 403 PENNY_QBO_WRITE_CANCEL_PERSON_REQUIRED) may cancel a batch Penny prepared that is halted in posting, once its posting lease has expired (409 PENNY_QBO_WRITE_POSTING_LEASE_ACTIVE before) and while no item is sending or sent (409 PENNY_QBO_WRITE_CANCEL_SENDING: resume the post or resolve the item first). Its unsent items are cancelled; verified and failed items are left as they are.

post/accountant/companies/{customerId}/integrations/quickbooks/writebacks/{batchId}/cancel

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
batchId, string uuid required

Response

The cancelled batch

object required
success, true required
data, QuickBooksWritebackBatchDetail required

Changes

    • warning

      added the new create_correcting_journal_entry enum value to the data/items/items/kind response property for the response status

    • info

      added the required property data/items/items/reason to the response with the status