papierkram_create_invoice
WRITE: create a DRAFT outgoing invoice (state draft; it is NOT finalized or sent, and gets no invoice number until the user completes it in Papierkram). Needs a payment term id (papierkram_list_payment_terms) and at least one line item. Use papierkram_list_invoices afterwards to check it. Costs Papierkram API credits (a create 10, an invoice 50; the monthly quota is limited).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Invoice title/subject. | |
| gross | No | False (default): prices are net. True: prices are gross. | |
| line_items | Yes | The invoice lines. | |
| project_id | No | Project the invoice belongs to. | |
| customer_id | Yes | Company id of the customer (from papierkram_list_companies). | |
| description | No | Notes shown on the invoice. | |
| supply_date | No | Supply/service date or period as text, e.g. 01.10.2026 - 14.10.2026. | |
| document_date | No | Invoice date yyyy-mm-dd (default today). | |
| payment_term_id | Yes | Payment term id (from papierkram_list_payment_terms). | |
| contact_person_id | No | Contact person of the customer (from papierkram_list_persons). | |
| custom_template_id | No | Custom invoice template id (from papierkram_get_info). |