API Reference Overview
Authentication
Consumers
Connections
Accounting
- Folders
- Book years
- Clients
- Suppliers
- Invoices
- Ledger accounts
- Journals
- Journal entries
- Employees
- Analytic plans
- Analytic accounts
- Miscellaneous operations
- Outstandings
- VAT codes
- Attachments
Invoicing
- Contacts
- Invoices
- Products
- Taxes
- Opportunities
- Payments
- Payment methods
POS
- Orders
- Payment methods
- Payments
- Closure info
- Locations
- Products
- Categories
- Customers
- Objectives
eCommerce
- Orders
- Products & variants
- Categories
- Customers
- Payment methods
- Locations
- Countries
- Taxes
PMS
- Orders
- Invoices
- Payment methods
- Payments
- Closure info
- Locations
- Categories
- Customers
- Taxes
Payment
- Payments
- Balances
- Transactions
- Refunds
Banking
- Financial institutions
- Banking accounts
- Transactions
Advanced
- Webhooks
- Syncs
- Issues
- Datastores
Invoices
Retrieve one invoice
Returns a invoice
GET
/
consumers
/
{consumer_id}
/
invoicing
/
invoices
/
{invoice_id}
curl --request GET \
--url https://api.chift.eu/consumers/{consumer_id}/invoicing/invoices/{invoice_id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"currency": "<string>",
"invoice_type": "customer_invoice",
"status": "cancelled",
"invoice_date": "2023-12-25",
"tax_amount": 123,
"untaxed_amount": 123,
"total": 123,
"lines": [],
"partner_id": "<string>",
"invoice_number": "<string>",
"due_date": "2023-12-25",
"reference": "<string>",
"payment_communication": "<string>",
"customer_memo": "<string>",
"journal_ref": {
"id": "<string>",
"model": "<string>",
"name": "<string>"
},
"italian_specificities": {
"stamp_duty_amount": 123,
"withholding_tax": {
"rate": 123,
"amount": 123,
"reason": "RT01",
"payment_reason": "A"
},
"welfare_fund": {
"rate": 123,
"amount": 123,
"type": "TC01"
},
"payment_reporting": {
"method": "MP01",
"conditions": "TP01"
}
},
"last_updated_on": "2023-11-07T05:31:56Z",
"outstanding_amount": 123,
"accounting_date": "2023-12-25",
"payment_method_id": "<string>",
"currency_exchange_rate": 123,
"pdf": "<string>"
}
Authorizations
This access token needs to be included in each of your request to the Chift API.
Query Parameters
Available options:
true
, false
Response
200
application/json
Successful Response
Invoice item returned in get 1 invoice
curl --request GET \
--url https://api.chift.eu/consumers/{consumer_id}/invoicing/invoices/{invoice_id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"currency": "<string>",
"invoice_type": "customer_invoice",
"status": "cancelled",
"invoice_date": "2023-12-25",
"tax_amount": 123,
"untaxed_amount": 123,
"total": 123,
"lines": [],
"partner_id": "<string>",
"invoice_number": "<string>",
"due_date": "2023-12-25",
"reference": "<string>",
"payment_communication": "<string>",
"customer_memo": "<string>",
"journal_ref": {
"id": "<string>",
"model": "<string>",
"name": "<string>"
},
"italian_specificities": {
"stamp_duty_amount": 123,
"withholding_tax": {
"rate": 123,
"amount": 123,
"reason": "RT01",
"payment_reason": "A"
},
"welfare_fund": {
"rate": 123,
"amount": 123,
"type": "TC01"
},
"payment_reporting": {
"method": "MP01",
"conditions": "TP01"
}
},
"last_updated_on": "2023-11-07T05:31:56Z",
"outstanding_amount": 123,
"accounting_date": "2023-12-25",
"payment_method_id": "<string>",
"currency_exchange_rate": 123,
"pdf": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.