---
title: "Report accounting export results"
method: POST
path: "/v3/accounting/records/export-results"
tags: ["Accounting Records"]
---

# Report accounting export results

`POST /v3/accounting/records/export-results`

Report export success or failure for accounting records.

## Request body

- ReportExportResultsRequest
  - `results` union[], required — Array of export results (must contain at least one result)
    - union
      - SuccessfulExportResult
        - `accounting_record_id` string, required — ID of the accounting record the export outcome applies to
        - `success` ExportSuccessDetails, required
          - `reference_id` string, nullable — External system identifier assigned to the exported record
          - `deep_link_url` string — URL pointing to the record in the external system
      - FailedExportResult
        - `accounting_record_id` string, required — ID of the accounting record the export outcome applies to
        - `failure` ExportFailureDetails, required
          - `error_message` string, required — Human-readable explanation of the failure

## Response `200`

Export results processed successfully

- ExportResultsResponse
  - `updated_accounting_record_ids` string[], required — Accounting record ids that were updated by the request

## Other responses

- `404` — Not found - Given accounting record id is not found
- `422` — Validation failed (duplicate accounting record ids or records not READY_FOR_EXPORT)
- `500` — Internal server error

---

[API](https://skmtc.dev/brex-com/apis/accounting-api.md) · [All operations](https://skmtc.dev/brex-com/apis/accounting-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brex-com/accounting-api/revisions/19746ae84d48/schema)
