# 💸 Mark an inbound invoice as paid

Mark an inbound invoice as paid.

A payment amount must state its VAT rate (P1.18), unless the invoice charges a single one.

Endpoint: POST /invoicing/invoices/{invoice_id}/mark_as_paid
Version: 0.29.6
Security: APIKeyHeader

## Path parameters:

  - `invoice_id` (string, required)

## Header parameters:

  - `X-PDP-Client-Id` (string, required)
    ID of the PDP Client for which the operation is performed

## Request fields (application/json):

  - `details` (any)

  - `details.amount` (any)
    Partial payment amount (MDT-215, code MPA). Omit to report full payment.

  - `details.tax_rate` (any)
    VAT rate the amount applies to (MDT-224), mandatory alongside an amount per rule P1.18. Optional only when the invoice charges a single VAT rate.

  - `details.payment_date` (any)
    Date the payment was made.

  - `details.comment` (any)
    Optional free-text note (MDT-126).

## Response 200 fields (application/json):

  - `invoice_id` (string, required)

  - `status` (string, required)

  - `success` (boolean, required)

