Add new bill line to existing bill
Param name | Description |
---|---|
line
required |
Bill line params Validations:
|
line[name]
required |
Bill line name Validations:
|
line[date]
required |
Validations:
|
line[amount_cents]
optional |
Bill line amount in cents Validations:
|
line[amount_currency]
optional |
Bill line currency. Should be currency code, e.g. EUR, USD, GBP etc Validations:
|
line[receipt_id]
optional |
ID of the related receipt. Receipt with such ID should already exist in the database. Validations:
|
line[asset_account_id]
optional |
ID of related asset account (credit account, payment method) Validations:
|