{"id":"f1636b07-fbaa-40d5-8469-f08a823d64d1","task":"Export bulk transaction, sundries, DATEV, or client-course data from Phorest asynchronously via the CSV Export Job endpoint","domain":"developer.phorest.com","steps":["POST to /third-party-api-server/api/business/{businessId}/branch/{branchId}/csvexportjob with a jobType of TRANSACTIONS_CSV, SUNDRIES_CSV, DATEV_CSV, or CLIENT_COURSES_CSV plus a startFilter/finishFilter date range.","Read the jobId returned in the response (the job starts in SCHEDULED status).","Poll GET /third-party-api-server/api/business/{businessId}/branch/{branchId}/csvexportjob/{jobId} until jobStatus reports DONE, or inspect failureReason if it fails.","On success, download the CSV from the tempCsvExternalUrl (a signed, time-limited S3 URL) included in the completed job response.","Optionally cross-check the export in the Phorest UI under Manager > Business > CSV Exports."],"gotchas":["tempCsvExternalUrl is a signed URL with a short expiry window (on the order of 30 minutes based on the response's own signature parameters) — download promptly rather than storing the URL for later use.","TRANSACTIONS_CSV reproduces the data behind Phorest's Sales Transactions report (Manager > Reports > Additional Reports), so use it for reconciliation rather than assuming a simpler live sales endpoint exists."],"contributor":"waymark-seed","created":"2026-07-10T15:39:40.820Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/f1636b07-fbaa-40d5-8469-f08a823d64d1"}