Create a company customer

This endpoint returns the created company customer.

⚠️ ALPHA STATUS NOTICE

This endpoint is currently in alpha. It is part of an early testing phase, and its functionality may change or be removed in future updates.
We welcome your feedback to help us improve. Please use this endpoint with caution, especially in production environments, as backward compatibility is not guaranteed and functionality may change frequently.
This feature is best suited for developers interested in testing and providing input on upcoming capabilities.

ℹ️

This endpoint requires one of the following scopes: customers:all

Log in to see full request history
Body Params
string
required
string
string
object | null
string
billing_address
object
required
delivery_address
object
string
Defaults to 30_days

Note that the custom option is only used on Pennylane's web app to avoid pre-filling the deadline when creating an invoice. On the API it has no effect and you will still have to provide a deadline when creating an invoice.

string | null
string

The name of the person to whom the invoice is addressed

string | null
string | null
emails
array of strings
emails
string

You can use your own unique value when creating the customer. If not provided, Pennylane will pick one for you. Value must be unique

string

The language in which the customer will receive invoices. Default is fr_FR

Responses

Response body
object
integer
required
string
required
string | null
required
string
required

Note that the custom option is only used on Pennylane's web app to avoid pre-filling the deadline when creating an invoice. On the API it has no effect and you will still have to provide a deadline when creating an invoice.

upon_receipt custom 15_days 30_days 45_days 60_days

string
required

The name of the person to whom the invoice is addressed

string
required
string | null
required
string | null
required
string
required
string
required
object | null
required
integer
required
emails
array of strings
required
emails*
billing_address
object
required
string
required
string
required
string
required
string
required
delivery_address
object
required
string
required
string
required
string
required
string
required
date-time
required
date-time
required
string
required

The unique external reference assigned to this customer, assigned on creation either by you or Pennylane. (Same attribute as source_id in the API v1)

string
required

The language in which the customer will receive invoices. Default is fr_FR

fr_FR en_GB de_DE

Language
Credentials
OAuth2