post https://app.pennylane.com/api/external/v1/customer_invoices/import
This endpoint allows you to create a invoice based on a specific payload and pdf.
Log in to see full request history
Responses
This endpoint allows you to create a invoice based on a specific payload and pdf.
xxxxxxxxxx
curl --request POST \
--url https://app.pennylane.com/api/external/v1/customer_invoices/import \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"create_customer": true
}
'
xxxxxxxxxx
92}
{
"invoice": {
"id": "wMoOACctiA",
"label": "Invoice label",
"invoice_number": "Invoice number",
"quote_group_uuid": "b50b8fe6-48ce-4380-b9b3-52eec688fc04",
"is_draft": true,
"is_estimate": true,
"currency": "EUR",
"amount": "230.32",
"currency_amount": "230.32",
"currency_amount_before_tax": "196.32",
"exchange_rate": 1,
"date": "2023-08-30",
"deadline": "2020-09-02",
"currency_tax": "34.0",
"language": "fr_FR",
"paid": false,
"fully_paid_at": "2023-08-30",
"status": "upcoming",
"discount": "50.1",
"discount_type": "relative",
"public_url": "https://app.pennylane.com/...",
"file_url": "https://app.pennylane.com/.../file.pdf",
"filename": "my_file.pdf",