e-Boekhouden: Create invoice
e-boekhouden_create_invoicee-Boekhouden: Create an invoice for a relation from one or more lines, and optionally email it to the relation. Creates one invoice in the books. Required: relation_id, term_of_payment in days, template_id and at least one line. Leave invoice_number empty and e-Boekhouden assigns the next one. Amounts are excluding or including VAT as in_ex_vat says; a line takes a fixed discount or a percentage, not both. Pass send_email to mail it to the relation straight away, otherwise it only exists in e-Boekhouden. The invoice is a legal document and cannot be edited or deleted through the API. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Invoice date. Default: today. | |
| text | No | Text on the invoice. | |
| items | Yes | Lines: description, quantity, price_per_unit, vat_code, ledger_id, optional product_id, discount_amount or discount_percentage. vat_code is one of HOOG_VERK_21, LAAG_VERK_9, VERL_VERK, VERL_VERK_L9, AFW, BU_EU_VERK, BI_EU_VERK, BI_EU_VERK_D, AFST_VERK, GEEN. | |
| in_ex_vat | No | IN if line prices include VAT, EX if they exclude it. | |
| reference | No | Payment reference. | |
| send_email | No | true to email the invoice to the relation now. Default: false. | |
| relation_id | Yes | Relation ID from list_relations. | |
| template_id | Yes | Template ID from list_invoice_templates. | |
| invoice_number | No | Your own number, must end with a digit. Empty: next number. | |
| term_of_payment | Yes | Payment term in days. |