POST
/
consumers
/
{consumer_id}
/
invoicing
/
invoices

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required

Body

application/json
currency
string
required

Currency matching target sofware name

invoice_date
string
required

Invoicing date

invoice_type
enum<string>
required

Invoice type

Available options:
customer_invoice,
customer_refund,
supplier_invoice,
supplier_refund
status
enum<string>
required

Status

Available options:
cancelled,
draft,
posted,
paid
tax_amount
number
required

Taxes amount

total
number
required

Total amount incl. taxes

untaxed_amount
number
required

Untaxed amount

customer_memo
string

Customer note/memo

due_date
string

Due date

invoice_number
string

Number/sequence

italian_specificities
object

Specificities for Italy

journal_ref
object

Journal

lines
object[]

Invoice lines

partner_id
string

Technical id of the vendor/customer in Chift

payment_communication
string

Payment communication

reference
string

Reference

Response

200 - application/json
currency
string
required

Currency matching target sofware name

id
string
required

Technical id in Chift

invoice_date
string
required

Invoicing date

invoice_type
enum<string>
required

Invoice type

Available options:
customer_invoice,
customer_refund,
supplier_invoice,
supplier_refund
source_ref
object
required

Technical id in the target software

status
enum<string>
required

Status

Available options:
cancelled,
draft,
posted,
paid
tax_amount
number
required

Taxes amount

total
number
required

Total amount incl. taxes

untaxed_amount
number
required

Untaxed amount

accounting_date
string

Accounting date

currency_exchange_rate
number
default:
1

Indicates the exchange rate at the date of the invoice.

customer_memo
string

Customer note/memo

due_date
string

Due date

invoice_number
string

Number/sequence

italian_specificities
object

Specificities for Italy

journal_ref
object

Journal

last_updated_on
string
lines
object[]

Invoice lines

outstanding_amount
number

Amount left to be paid

partner_id
string

Technical id of the vendor/customer in Chift

payment_communication
string

Payment communication

payment_method_id
string

Technical id of the payment method in Chift

reference
string

Reference