Skip to main content
POST
Mark an invoice as uncollectible

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-finops-version
string<date>
required
authorization
string
x-organization-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Path Parameters

receivable_id
string<uuid>
required

Body

application/json
comment
string

Optional comment explains why the Invoice goes uncollectible.

Response

Successful Response

id
string<uuid>
required
created_at
string<date-time>
required

Time at which the receivable was created. Timestamps follow the ISO 8601 standard.

updated_at
string<date-time>
required

Time at which the receivable was last updated. Timestamps follow the ISO 8601 standard.

counterpart_id
string<uuid>
required

Unique ID of the counterpart.

counterpart_type
enum<string>
required

The type of the counterpart.

Available options:
individual,
organization
currency
enum<string>
required

The currency used in the receivable.

Available options:
AED,
AFN,
ALL,
AMD,
ANG,
AOA,
ARS,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BGN,
BHD,
BIF,
BMD,
BND,
BOB,
BRL,
BSD,
BTN,
BWP,
BYN,
BZD,
CAD,
CDF,
CHF,
CLP,
CNY,
COP,
CRC,
CVE,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
ETB,
EUR,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MAD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MUR,
MVR,
MWK,
MXN,
MYR,
MZN,
NAD,
NGN,
NIO,
NOK,
NPR,
NZD,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SEK,
SGD,
SHP,
SLE,
SOS,
SRD,
SSP,
SVC,
SZL,
THB,
TJS,
TMT,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
USD,
UYU,
UZS,
VND,
VUV,
WST,
XAF,
XCD,
XOF,
XPF,
YER,
ZAR,
ZMW
entity
object
required

A Response schema for an entity of organization type

entity_address
object
required

A schema represents address info of the entity

file_language
enum<string>
required

The language of the customer-facing PDF file (file_url). The value matches the counterpart's language at the time when this PDF file was generated.

Available options:
ab,
aa,
af,
ak,
sq,
am,
ar,
an,
hy,
av,
ae,
ay,
az,
bm,
ba,
eu,
be,
bn,
bi,
bs,
br,
bg,
my,
ca,
ch,
ce,
ny,
zh,
cu,
cv,
kw,
co,
cr,
hr,
cs,
da,
dv,
nl,
dz,
en,
eo,
et,
ee,
fo,
fj,
fi,
fr,
fy,
ff,
gd,
gl,
lg,
ka,
de,
el,
kl,
gn,
gu,
ht,
ha,
he,
hz,
hi,
ho,
hu,
io,
ig,
id,
ia,
ie,
iu,
ik,
ga,
it,
ja,
jv,
kn,
kr,
ks,
kk,
km,
ki,
rw,
ky,
kv,
kg,
ko,
kj,
ku,
lo,
la,
lv,
li,
ln,
lt,
lu,
lb,
mk,
mg,
ms,
ml,
mt,
gv,
mi,
mr,
mh,
mn,
na,
nv,
nd,
nr,
ng,
ne,
no,
nb,
nn,
ii,
oc,
oj,
om,
os,
pi,
ps,
fa,
pl,
pt,
pa,
qu,
ro,
rm,
rn,
ru,
se,
sm,
sg,
sa,
sc,
sr,
sn,
sd,
si,
sk,
sl,
so,
st,
es,
su,
sw,
ss,
sv,
tl,
ty,
tg,
ta,
tt,
te,
th,
bo,
ti,
to,
ts,
tn,
tr,
tk,
tw,
ug,
uk,
ur,
uz,
ve,
vi,
vo,
wa,
cy,
wo,
xh,
yi,
yo,
za,
zu
line_items
object[]
required
original_file_language
enum<string>
required

The language of the entity's copy of the PDF file (original_file_url). The value matches the entity's language at the time when this PDF file was generated.

Available options:
ab,
aa,
af,
ak,
sq,
am,
ar,
an,
hy,
av,
ae,
ay,
az,
bm,
ba,
eu,
be,
bn,
bi,
bs,
br,
bg,
my,
ca,
ch,
ce,
ny,
zh,
cu,
cv,
kw,
co,
cr,
hr,
cs,
da,
dv,
nl,
dz,
en,
eo,
et,
ee,
fo,
fj,
fi,
fr,
fy,
ff,
gd,
gl,
lg,
ka,
de,
el,
kl,
gn,
gu,
ht,
ha,
he,
hz,
hi,
ho,
hu,
io,
ig,
id,
ia,
ie,
iu,
ik,
ga,
it,
ja,
jv,
kn,
kr,
ks,
kk,
km,
ki,
rw,
ky,
kv,
kg,
ko,
kj,
ku,
lo,
la,
lv,
li,
ln,
lt,
lu,
lb,
mk,
mg,
ms,
ml,
mt,
gv,
mi,
mr,
mh,
mn,
na,
nv,
nd,
nr,
ng,
ne,
no,
nb,
nn,
ii,
oc,
oj,
om,
os,
pi,
ps,
fa,
pl,
pt,
pa,
qu,
ro,
rm,
rn,
ru,
se,
sm,
sg,
sa,
sc,
sr,
sn,
sd,
si,
sk,
sl,
so,
st,
es,
su,
sw,
ss,
sv,
tl,
ty,
tg,
ta,
tt,
te,
th,
bo,
ti,
to,
ts,
tn,
tr,
tk,
tw,
ug,
uk,
ur,
uz,
ve,
vi,
vo,
wa,
cy,
wo,
xh,
yi,
yo,
za,
zu
status
enum<string>
required

The status of the Quote inside the receivable workflow.

Available options:
draft,
issued,
accepted,
expired,
declined,
deleted
total_tax_amount
integer
required

The total tax of all line items, in minor units.

Required range: x <= 9007199254740991
type
enum<string>
required

The type of the document uploaded.

Available options:
quote
attachments
object[]

List of attachments to include with the receivable. Each attachment can be configured for email inclusion. If not provided, no attachments will be associated.

bank_account_id
string<uuid>
bank_account_snapshot
object
bank_account_type
string
based_on
string<uuid>

The unique ID of a previous document related to the receivable if applicable.

based_on_document_id
string

The unique document ID of a previous document related to the receivable if applicable.

comment
string

Field with a comment on why the client declined this Quote

commercial_condition_description
string

The commercial terms of the receivable (e.g. The products must be delivered in X days).

counterpart_billing_address
object

Address of invoicing, need to state as a separate fields for some countries if it differs from address of a company.

counterpart_business_type
string

Different types of companies for different countries, ex. GmbH, SAS, SNC, etc.

Maximum string length: 50
counterpart_contact
object

Additional information about counterpart contacts.

counterpart_external_reference
string

The external reference of the counterpart.

counterpart_name
string

A legal name of a counterpart it is an organization or first and last name if it is an individual

counterpart_shipping_address
object

Address where goods were shipped / where services were provided.

counterpart_tax_id
string

The VAT/TAX ID of the counterpart.

counterpart_vat_id
object
deduction_amount
integer
deprecated

The amount of tax deducted in minor units

Required range: 0 <= x <= 9007199254740991
deduction_memo
string
deprecated

A note with additional information about a tax deduction

deductions
object[]

List of deductions applied to the receivable (maximum 10 deductions allowed)

Maximum array length: 10
discount
object

The discount for a receivable.

discounted_subtotal
integer

Total price of the receivable with discounts before taxes minor units.

Required range: x <= 9007199254740991
document_id
string

The sequential code systematically assigned to invoices.

document_rendering
object

Settings for rendering documents in PDF format, including settings for line items and specific document types.

due_date
string<date>

Optional field representing date until which invoice should be paid

entity_bank_account
object
deprecated

Deprecated. Always null; use bank_account_snapshot instead.

entity_user_id
string<uuid>

The entity user who created this document.

entity_vat_id
object
expiry_date
string<date>

The date (in ISO 8601 format) until which the quote is valid.

file_url
string

The receivable's PDF URL in the counterpart's default language.

Optional text displayed below the line items table in the PDF.

issue_date
string<date-time>

Optional field for the issue of the entry.

memo
string

A note with additional information for a receivable.

original_file_url
string

The receivable's PDF URL in the entity's default language.

partner_metadata
object

Metadata for partner needs

project_id
string<uuid>

A project related to current receivable

quote_accept_page_url
string<uri>

Link for custom quote accept page

Required string length: 1 - 65536
signature_required
boolean

Whether acceptance a quote requires a signature.

subtotal
integer

The subtotal (excluding tax), in minor units.

Required range: x <= 9007199254740991
subtotal_after_tax
integer

The subtotal including tax but without invoice discount, in minor units.

Required range: x <= 9007199254740991
tags
object[]

The list of tags for this receivable.

tax_exempt
boolean

Indicates whether the goods, materials, or services listed in the receivable are exempt from tax or not.

tax_exemption_rationale
string

The reason for the tax exemption, if applicable.

tax_inclusive_discount_mode
enum<string>
default:exclusive

Indicates whether the discount is applied to the tax-inclusive or tax-exclusive amount.

Available options:
exclusive,
inclusive
tax_mode
enum<string>
default:exclusive

Defines whether the prices of products in receivable will already include tax or not.

Available options:
exclusive,
inclusive
total_amount
integer
default:0

Total price of the receivable in minor units. Calculated as a subtotal + total_tax_amount.

Required range: x <= 9007199254740991
total_deduction_amount
integer

The total deduction amount of all deductions, in minor units.

Required range: x <= 9007199254740991
total_tax_amounts
object[]

List of total tax amount for each tax rate, presented in receivable

total_withholding_tax
integer

Total price of the receivable with tax withheld in minor units

trade_name
string

Trade name of the entity

Maximum string length: 255
withholding_tax_rate
integer

The amount of tax withheld in percent minor units

Required range: 0 <= x <= 10000