---
title: "Approve Bulk Invoices (Sync)"
method: POST
path: "/invoices/approve"
tags: ["invoice > bulk"]
---

# Approve Bulk Invoices (Sync)

`POST /invoices/approve`

## Request

- Base URL: `https://api.mercoa.com`
- URL: `https://api.mercoa.com/invoices/approve`
- Auth: HTTP bearer

Approve multiple invoices in bulk. This endpoint will process synchronously and return a list of invoices that were approved or failed to approve.

## Query parameters

- `emitWebhooks` boolean

## Request body

- InvoiceTypesBulkInvoiceApprovalRequest
  - `invoices` InvoiceTypesApprovalRequestWithId[], required
    - `text` string: Comment associated with this approval action.
    - `userId` string, required
    - `invoiceId` string, required

## Response `200`

Response with status 200

- InvoiceTypesBulkInvoiceApprovalResponse
  - `data` InvoiceTypesBulkInvoiceApprovalFromObjectResponse[], required
    - `id` string
    - `foreignId` string: If provided, this is the foreign ID of the invoice that was approved.
    - `error` string: The error message if the invoice was not approved

## Other responses

- `400`: Error response with status 400
- `401`: Error response with status 401
- `403`: Error response with status 403
- `404`: Error response with status 404
- `409`: Error response with status 409
- `500`: Error response with status 500
- `501`: Error response with status 501

---

[API](https://skmtc.dev/mercoa/apis/mercoa-2.md) - [All operations](https://skmtc.dev/mercoa/apis/mercoa-2/llms.txt) - [OpenAPI document](https://skmtc.dev/mercoa/apis/mercoa-2/revisions/00a8e403ae18?raw)
