create_invoice
Issue a normal, proforma, advance, or correction invoice on Számlázz.hu and receive the generated PDF attached to the response.
Instructions
Issue a new invoice (normal, proforma, advance or correction invoice). The PDF comes attached to the answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paid | No | Mark as paid | |
| items | Yes | Invoice items | |
| comment | No | Comment printed on the invoice | |
| company | No | Company name (or part of it) or Számlázz.hu company id. Optional: defaults to the login's current company. list_companies lists the choices. | |
| dueDate | Yes | Payment due date (YYYY-MM-DD) | |
| currency | No | Currency (default: HUF) | |
| eInvoice | No | E-invoice (default: true) | |
| language | No | Invoice language: hu, en, de, it, ro, sk, hr, fr, es, cz, pl (default: hu) | |
| proforma | No | Issue a proforma invoice instead | |
| buyerCity | Yes | Buyer city | |
| buyerName | Yes | Buyer name | |
| emailText | No | Text of the notification e-mail | |
| issueDate | Yes | Issue date (YYYY-MM-DD) | |
| sendEmail | No | E-mail the invoice notification to the buyer | |
| buyerEmail | No | Buyer e-mail | |
| sellerBank | No | Seller's bank | |
| signerName | No | Signer's name | |
| orderNumber | No | Order number | |
| buyerAddress | Yes | Buyer street address | |
| emailSubject | No | Subject of the notification e-mail | |
| exchangeRate | No | Exchange rate for foreign currency (0 = current MNB rate) | |
| finalInvoice | No | Final invoice | |
| replyToEmail | No | Reply-to address of the notification e-mail | |
| paymentMethod | Yes | Payment method (bank transfer, cash, card, ...), as printed on the invoice, in the invoice's language | |
| advanceInvoice | No | Advance invoice | |
| buyerTaxNumber | No | Buyer tax number | |
| buyerTaxStatus | No | Buyer tax status: 7 = business outside the EU, 6 = EU business, 1 = Hungarian taxpayer, 0 = unknown, -1 = no tax number | |
| buyerPostalCode | Yes | Buyer postal code | |
| fulfillmentDate | Yes | Fulfillment date (YYYY-MM-DD) | |
| exchangeRateBank | No | Bank of the exchange rate for foreign currency (e.g. 'MNB') | |
| correctionInvoice | No | Correction invoice | |
| sellerBankAccount | No | Seller's bank account number | |
| invoiceNumberPrefix | No | Invoice number prefix | |
| correctedInvoiceNumber | No | Number of the invoice being corrected |