---
title: "Get invoice payment form data"
method: GET
path: "/invoices/payments/form-data"
tags: ["Invoices"]
---

# Get invoice payment form data

`GET /invoices/payments/form-data`

## Request

- Base URL: `http://localhost/app4legal/api/v2/money`
- URL: `http://localhost/app4legal/api/v2/money/invoices/payments/form-data`
- Auth: OAuth 2
  - Password
  - Token URL: `http://localhost/app4legal/api/v2/core/login`
- TypeScript: <https://skmtc.dev/app4legal/apis/a4l-money-api/docs/invoices/payments/form-data/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns available asset and trust accounts for invoice payment.

## Query parameters

- `organization_id` string, required
- `invoice_payment_id` string, nullable
- `client_id` integer

## Response `200`

Successful operation

- object
  - `message` string
  - `invoice_payment_form_data` object
    - `asset_accounts` object[]
      - `id` integer
      - `parent_id` integer, nullable
      - `name` string
      - `account_label` string
      - `currency` string
      - `currency_id` integer
      - `type_id` integer
    - `trust_accounts` object[]
      - `id` integer
      - `name` string
      - `account_label` string
      - `currency` string
      - `currency_id` integer
      - `balance` number, float

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Server error

## Changes

- **2026-08-06** `e0d144609998`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/app4legal/apis/a4l-money-api/changes/invoices/payments/form-data/get.md)

---

[API](https://skmtc.dev/app4legal/apis/a4l-money-api.md) - [All operations](https://skmtc.dev/app4legal/apis/a4l-money-api/llms.txt) - [OpenAPI document](https://skmtc.dev/app4legal/apis/a4l-money-api/revisions/e0d144609998?raw)
