Authorizations
Bearer authorization header: Bearer <token>
, where <token>
is the access token received from the authorization server at the end of the OAuth 2.0 flow.
Headers
Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.
Body
When creating a client to be used for invoicing purposes, do note:
-
A client can be created by only specifying a
type
and aname
(depending on the chosentype
); -
however, to be able to use that client for invoicing, the following additional fields must also be provided:
currency
locale
- address, either as root-level fields (
address
,city
,zip_code
,province_code
andcountry_code
) or inside thebilling_address
field object.
First name of the client that needs to pay the invoice. It is required if type is individual
or freelancer
60
Last name of the client that needs to pay the invoice. It is required if type is individual or freelancer.
60
Client type: individual
represents a physical person (a consumer) whereas company
represents a legal entity. For Italian organizations only, freelancer
(a legal entity with the name of a person) is also accepted.
individual
, company
, freelancer
Name of the client that needs to pay the client invoice. It is required if type is company
250
E-mail address of the client that needs to pay the invoice, which is displayed in the invoice.
"john.doe@qonto.eu"
Additional email addresses for the client. Store additional emails that won't appear in the document but will be used as recipients when sending the document via email.
100
["additional@email.com", "backup@email.com"]
Client's phone country code and number.
Unique identifier used to send the invoice to the client.
"1234567890"
Value Added Tax number of the client (a legal entity) that needs to pay the invoice.
20
Tax Identification Number of the client (a physical person) that needs to pay the invoice. It corresponds to the SIREN/SIRET for French companies.
30
Address of the client that needs to pay the invoice.
DEPRECATED: This field is deprecated. Please use billing_address.street_address
instead.
250
City of the client that needs to pay the invoice.
DEPRECATED: This field is deprecated. Please use billing_address.city
instead.
50
Zip code of the client that needs to pay the invoice. For clients with Italy as a country, the value must be 5 characters. For other countries, the value is capped to 20 characters.
DEPRECATED: This field is deprecated. Please use billing_address.zip_code
instead.
20
Province code of the client that needs to pay the invoice. It is required only for Italian organizations.
List of province codes: AG, AL, AN, AO, AP, AQ, AR, AT, AV, BA, BG, BI, BL, BN, BO, BR, BS, BT, BZ, CA, CB, CE, CH, CL, CN, CO, CR, CS, CT, CZ, EN, FC, FE, FG, FI, FM, FR, GE, GO, GR, IM, IS, KR, LC, LE, LI, LO, LT, LU, MB, MC, ME, MI, MN, MO, MS, MT, NA, NO, NU, OR, PA, PC, PD, PE, PG, PI, PN, PO, PR, PT, PU, PV, PZ, RA, RC, RE, RG, RI, RM, RN, RO, SA, SI, SO, SP, SR, SS, SU, SV, TA, TE, TN, TO, TP, TR, TS, TV, UD, VA, VB, VC, VE, VI, VR, VT, VV
DEPRECATED: This field is deprecated. Please use billing_address.province_code
instead.
2
Country code of the client that needs to pay the invoice as a root-level field (ISO 3166 format).
DEPRECATED: This field is deprecated. Please use billing_address.country_code
instead.
2
"FR"
Billing address of the client, which will be reflected on the invoice. Required to fill in either this object (with fields street_address
, city
, zip_code
, province_code
and country_code
) or the root level fields (address
, city
, zip_code
, province_code
and country_code
) when creating an invoice with this client.
Send either a billing_address
object filled-in or individual root-level address fields (address
, city
, zip_code
, province_code
, country_code
). When both are sent, billing_address
takes precedence and overwrites root-level fields.
Delivery address of the client whose
Only for Italian clients. Represents the client’s recipient code, so that the client can receive the e-invoice in his SDI portal.
Client’s currency, supported format is ISO 4217. Required when creating an invoice with this client.
"EUR"
Language of the documents created on Qonto (invoices, quotes, credit notes) for this particular client. It is possible to choose between five languages: French, English, Italian, German, and Spanish. Required when creating an invoice with this client.
"FR"
Response
Returns the client created.