Skip to main content
POST
Unmatch invoice

Authorizations

Authorization
string
header
required

API key prefixed with finta_

Path Parameters

id
string
required

The invoice's inv_ ID.

Example:

"inv_k3m9p2q8r4s7t1"

Body

application/json
transaction_id
string
required

The bank deposit, from GET /transactions.

Pattern: ^txn_
Example:

"txn_a1b2c3d4e5f6g7"

Response

The open invoice

An invoice the company sent, with the revenue it booked and the deposit that paid it.

id
string
required
Example:

"inv_k3m9p2q8r4s7t1"

object
enum<string>
required
Available options:
invoice
status
enum<string>
required

open until a deposit is matched as its payment, then paid. voided invoices booked nothing.

Available options:
open,
paid,
voided
customer_name
string
required
Example:

"Acme Corp"

invoice_date
string<date>
required
Example:

"2026-09-01"

amount_cents
integer
required

The total due in cents, after discounts, credits and tax.

Example:

1100000

currency
string
required
Example:

"USD"

line_items
object[]
required

Every line item, in order. At most 10 on invoices created in Finta or through the API; invoices recorded from Stripe can have more.

adjustments
object[]
required

Discounts, customer balance credits and tax, at most one of each kind.

paid_transaction_id
string | null
required

The bank deposit matched as this invoice's payment. Null unless paid. It stays set even if that transaction is later deleted in Finta, so it may not be retrievable with GET /transactions/{id}.

Example:

"txn_a1b2c3d4e5f6g7"

paid_date
string<date> | null
required

The date of the matched deposit. Null unless paid.

source
enum<string>
required

stripe when Finta recorded the invoice from the company's Stripe account; manual when it was entered in Finta or through the API.

Available options:
manual,
stripe
stripe_url
string | null
required

The invoice in the Stripe dashboard, for Stripe invoices.

created
integer
required

When the invoice was recorded in Finta, as a Unix timestamp.

Example:

1788220800