---
title: "Create an invoice payment"
method: POST
path: "/consumers/{consumer_id}/accounting/invoices/payments"
tags: ["Accounting", "Invoices"]
---

# Create an invoice payment

`POST /consumers/{consumer_id}/accounting/invoices/payments`

Create invoice payment

## Path parameters

- `consumer_id` string, uuid, required

## Query parameters

- `folder_id` string, nullable

## Request body

- AccountingInvoicePaymentIn
  - `date` string, date, required — The date of the payment
  - `payment_method_id` string, required — Technical ID of the payment method in the accounting system.
  - `currency` string, required — Payment currency
  - `currency_exchange_rate` number, nullable — Exchange rate applicable at the payment date. Required when the currency is different from the system's currency.
  - `reference` string, nullable — External reference of the payment.
  - `number` string, nullable — Unique Payment number (if managed by the software).
  - `items` AccountingInvoicePaymentItemIn[], required — Payment's repartition
    - `invoice_id` string, required — Technical ID of the invoice in the accounting system.
    - `amount` number, required — Paid amount dedicated to the invoice. The amount must be positive and follows the sign of the linked invoice.

## Response `204`

Successful Response

## Other responses

- `400` — Bad Request
- `422` — Validation Error

---

[API](https://skmtc.net/chift/apis/chift-api.md) · [All operations](https://skmtc.net/chift/apis/chift-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chift/chift-api/revisions/b5f1214a482a/schema)
