billomat_add_invoice_item
Destructive
WRITE: add one line item to an invoice that is still a DRAFT (Billomat refuses it for any other status). Does not complete or send the invoice.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | PRODUCT or SERVICE. | |
| unit | No | Unit, e.g. Stunde, Stueck, hour. | |
| title | No | Item title (required unless article_id is given). | |
| optional | No | Offers only: mark the item as optional (its price is left out of the total). | |
| quantity | No | Quantity (required unless article_id is given). | |
| tax_name | No | Tax name; with tax_rate overrides the standard tax of the account. | |
| tax_rate | No | Tax rate in percent; the account's standard rate when omitted. | |
| reduction | No | Discount: absolute (10) or percent (10%). | |
| article_id | No | An article id (from billomat_list_articles): title, unit, price and tax missing here are taken from the article. | |
| invoice_id | Yes | The draft invoice id. | |
| unit_price | No | Unit price, net or gross as net_gross of the document (required unless article_id is given). | |
| description | No | Item description. |