---
title: "Add Approver"
method: POST
path: "/invoice-template/{invoiceTemplateId}/add-approver"
tags: ["invoice-template > approval"]
---

# Add Approver

`POST /invoice-template/{invoiceTemplateId}/add-approver`

## Request

- Base URL: `https://api.mercoa.com`
- URL: `https://api.mercoa.com/invoice-template/{invoiceTemplateId}/add-approver`
- Auth: HTTP bearer

Adds an approver to the invoice template. Will select the first available approver slot that is not already filled and assign the approver to it. If no approver slots are available, an error will be returned. An explicit approver slot can be specified by setting the `approverSlot` field.

## Path parameters

- `invoiceTemplateId` string, required

## Request body

- InvoiceTypesAddApproverRequest
  - `approvalSlotId` string
  - `userId` string, required

## Response `200`

Successful response

## 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)
