PATCH
/
accounting
/
invoices
/
{invoiceId}

Test Api token:

663222ee

Test Account token:

85b30b51

Field support per integration

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Path Parameters

invoiceId
string
required

Query Parameters

environmentName
string
companyId
string

Body

application/json
contactId
string
name
string
reference
string
currency
enum<string>
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,
BYR,
BZD,
CAD,
CDF,
CHF,
CLP,
CNY,
COP,
CRC,
CUC,
CVE,
CZK,
DJF,
DKK,
DOP,
DZD,
EEK,
EGP,
ERN,
ETB,
EUR,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GQE,
GTQ,
GYD,
HKD,
HNL,
HRK,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
IRR,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KPW,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LTL,
LVL,
LYD,
MAD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRO,
MUR,
MVR,
MWK,
MXN,
MYR,
MZM,
NAD,
NGN,
NIO,
NOK,
NPR,
NZD,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
SAR,
SBD,
SCR,
SDG,
SEK,
SGD,
SHP,
SLL,
SOS,
SRD,
SYP,
SZL,
THB,
TJS,
TMT,
TND,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
USD,
UYU,
UZS,
VEB,
VND,
VUV,
WST,
XAF,
XCD,
XDR,
XOF,
XPF,
YER,
ZAR,
ZMK,
ZWR
invoiceDate
string
status
enum<string>
Available options:
DRAFT,
SUBMITTED,
AUTHORISED,
PAID,
CANCELED
invoiceType
enum<string>
Available options:
STANDARD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,
YE,
YT,
ZA,
ZM,
ZW
taxRule
enum<string>
Available options:
NET,
GROSS,
FREETAX,
INTRACOMMUNITY,
CONSTRUCTIONSERVICE,
EXTERNALSERVICE,
THIRDPARTYCOUNTRYSERVICE,
THIRDPARTYCOUNTRYDELIVERY,
REVERSECHARGE,
VATSALES,
EXPORT ,
NONE,
DEFAULT,
EU,
NOTEU,
SS,
CUSTOM
taxText
string
lineItems
object[]
discountPercentage
number
shippingType
enum<string>
Available options:
SERVICE,
SERVICEPERIOD,
DELIVERY,
DELIVERYPERIOD,
NONE
shippingDate
string
shippingEndDate
string
lineAmountTypes
enum<string>
Available options:
EXCLUSIVE,
INCLUSIVE,
NOTAX
dueDate
string
paidDate
string
paymentTermDuration
number

Response

200 - application/json
meta
object
data
object