Billy-Pennylane API Documentation
accounting
customerInvoice
- POSTLink the customer invoice to the credit note
- POSTImport a customer invoice
- GETGet the customer invoices
- POSTCreate a customer invoice
- GETList the categories of the customer invoice
- PUTUpdate the categories of a customer invoice
- GETGet the customer invoice
- PUTUpdate the finalized customer invoice
- GETGet the customer invoice lines
- GETGet the customer invoice matched transactions
- GETGet the customer invoice payments
- GETGet the customer invoice line section
- PUTUpdate an imported customer invoice
changelog
supplierInvoice
customer
fileAttachment
customerInvoice
Import a customer invoice
POST
/
customer_invoices
/
import
Copy
Ask AI
{
"invoice_number": "<string>",
"currency": "AED",
"amount": "<string>",
"currency_amount": "<string>",
"currency_amount_before_tax": "<string>",
"date": "<string>",
"deadline": "<string>",
"currency_tax": "<string>",
"tax": "<string>",
"id": 123,
"label": "<string>",
"exchange_rate": "<string>",
"public_file_url": "<string>",
"filename": "<string>",
"remaining_amount_with_tax": "<string>",
"remaining_amount_without_tax": "<string>",
"archived_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"v1_external_id": "<string>",
"v2_id": 123,
"customer": {
"id": 123,
"url": "<string>"
},
"language": "fr_FR",
"discount": {
"type": "relative",
"value": "<string>"
},
"special_mention": "<string>",
"pdf_invoice_free_text": "<string>",
"pdf_invoice_subject": "<string>",
"pdf_description": "<string>",
"billing_subscription": {
"id": 123,
"url": "<string>"
},
"external_reference": "<string>",
"paid": true,
"draft": true,
"ledger_entry": {
"id": 123,
"url": "<string>"
},
"estimate": {
"id": 123,
"url": "<string>"
},
"credited_invoice": {
"id": 123,
"url": "<string>"
},
"from_estimate_id": 123,
"customer_invoice_template": {
"id": 123,
"url": "<string>"
},
"invoice_lines": {
"url": "<string>"
},
"payments": "<any>",
"matched_transactions": "<any>",
"appendices": "<any>",
"status": "incomplete",
"transaction_reference": {
"banking_provider": "gocardless",
"provider_field_name": "payment_id",
"provider_field_value": "<string>"
}
}
Headers
Available options:
billy
Available options:
EASYBEER
, AMAZON
, AMAZONSELLER
, AXONAUT
, HARVEST
, HUBSPOT
, PENNYLANE
, ZOHO
, CHARGEBEE
, SELLSY
, VOSFACTURES
, FACTOMOS
, BOONDMANAGER
, TEAMLEADER
, CHORUSPRO
, DOLIBARR
, PROGBAT
, EVOLIZ
, RECURLY
, KARLIA
, PIPEDRIVE
, SHOPIFY
, ODOO
, LAGO
, SALESFORCE
, HYPERLINE
, RENTMAN
, SPENDESK
, WEEBATI
, PROABONO
, WOOCOMMERCE
, PRESTASHOP
, MAGENTO
, WIX
, SQUARESPACE
, BIGCOMMERCE
, SYLIUS
, ORGANILOG
, XERO
, SAGE
, ZETTLE
, BEXIO
, SUMUP
, METRO
, HIBOUTIK
, VSA
Body
application/json
Body
The body is of type object
.
Response
201
application/json
201
The response is of type object
.
Copy
Ask AI
{
"invoice_number": "<string>",
"currency": "AED",
"amount": "<string>",
"currency_amount": "<string>",
"currency_amount_before_tax": "<string>",
"date": "<string>",
"deadline": "<string>",
"currency_tax": "<string>",
"tax": "<string>",
"id": 123,
"label": "<string>",
"exchange_rate": "<string>",
"public_file_url": "<string>",
"filename": "<string>",
"remaining_amount_with_tax": "<string>",
"remaining_amount_without_tax": "<string>",
"archived_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"v1_external_id": "<string>",
"v2_id": 123,
"customer": {
"id": 123,
"url": "<string>"
},
"language": "fr_FR",
"discount": {
"type": "relative",
"value": "<string>"
},
"special_mention": "<string>",
"pdf_invoice_free_text": "<string>",
"pdf_invoice_subject": "<string>",
"pdf_description": "<string>",
"billing_subscription": {
"id": 123,
"url": "<string>"
},
"external_reference": "<string>",
"paid": true,
"draft": true,
"ledger_entry": {
"id": 123,
"url": "<string>"
},
"estimate": {
"id": 123,
"url": "<string>"
},
"credited_invoice": {
"id": 123,
"url": "<string>"
},
"from_estimate_id": 123,
"customer_invoice_template": {
"id": 123,
"url": "<string>"
},
"invoice_lines": {
"url": "<string>"
},
"payments": "<any>",
"matched_transactions": "<any>",
"appendices": "<any>",
"status": "incomplete",
"transaction_reference": {
"banking_provider": "gocardless",
"provider_field_name": "payment_id",
"provider_field_value": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.