Skip to main content
GET
Get invoices for an order (incl. upcoming scheduled subscription invoices)

Authorizations

X-API-KEY
string
header
required

API key for the Twice API

Path Parameters

orderId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Query Parameters

includeScheduled
enum<string>
Available options:
true,
false

Response

200

id
string
required
type
enum<string>
required
Available options:
invoice
number
number | null
required
status
enum<string>
required
Available options:
draft,
open,
cancelled,
uncollectible,
scheduled
pricing
object
required
capturedTotal
number
required
refundedTotal
number
required
issuedAt
string
required
dueAt
string | null
required
crmCustomerId
string | null
required
lines
object
required
createdAt
string
required
updatedAt
string
required
orderId
string
originalInvoiceId
string
source
enum<string>
Available options:
solteq_pos
tenantInfo
object
customerSnapshot
object