Skip to main content
POST
Create invoice

Authorizations

Authorization
string
header
required

API key prefixed with finta_

Body

application/json
customer_name
string
required
Minimum string length: 1
invoice_date
string<date>
required

The date the invoice was issued, as YYYY-MM-DD.

line_items
object[]
required
Required array length: 1 - 10 elements
adjustments
object[]

Each kind at most once.

Response

The invoice was recorded

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