---
title: "POST /billing-invoice/{invoiceId}/payments"
method: POST
path: "/billing-invoice/{invoiceId}/payments"
tags: ["BillingInvoiceController"]
---

# POST /billing-invoice/{invoiceId}/payments

`POST /billing-invoice/{invoiceId}/payments`

| Permissions |
| ------- |
| 5323   |

## Path parameters

- `invoiceId` string, required

## Request body

- TransactionDtoPartial — (tsType: Partial<TransactionDto>, schemaOptions: { partial: true })
  - `amount` number
  - `paymentMethod` 'cash' | 'check' | 'bank_transfer' | 'other' | 'custom' | 'payment_source' — payment method
  - `paymentSourceId` string
  - `referenceNumber` string
  - `customPaymentMethodId` string
  - `idAtGateway` string
  - `status` 'success' | 'failure'
  - `date` number
  - `errorCode` string
  - `errorText` string
  - `comment` string

## Response `200`

invoice model instance

---

[API](https://skmtc.dev/sourcefuse/apis/subscription-service.md) · [All operations](https://skmtc.dev/sourcefuse/apis/subscription-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sourcefuse/subscription-service/revisions/8be17bf3acc3/schema)
