# Overriding Invoice Account Details in the Request

Your terminal settings define the default document type for invoicing commands, as well as your business and EZcount account details.

In some cases, you may need more flexibility in document generation. To support this, Hyp allows you to override the default invoicing configuration using the following parameters:

* `invoiceType`: overrides the default document type (usually a tax receipt). Possible values:
  * `tax` (חשבונית מס, tax invoice): standard VAT invoice issued when a sale is made and VAT is charged.
  * `receipt` (קבלה, non-tax receipt): confirms receipt of payment without creating a VAT liability. Only available if the item price does not include VAT.
  * `taxreceipt` (חשבונית מס קבלה, tax invoice receipt, or tax receipt): combines a VAT invoice and a receipt acknowledging payment.
  * `receiptdonation` (קבלת תרומה, donation receipt): issued by nonprofit organizations to acknowledge donations. Only available if the item price does not include VAT.
  * `order` (הזמנת עבודה / הזמנת שירות / הזמנה, order confirmation): confirms an order before an invoice is issued.
  * `pricequote` (הצעת מחיר, price quotation): proposes prices and terms to a customer.
  * `transactionaccount` (חשבון עסקה, proforma invoice): preliminary sale document sent ahead of the tax invoice.
* `invoiceVendorKey`: specifies a different EZcount account than the one defined in your terminal to generate the invoice.

You can include these parameters in the `invoice` element of an `addCgInvoice` or `refundCgInvoice` request just like any other parameter.

## FAQ

### Can I issue all document types with an override?

No. You can only issue document types allowed by your EZcount account configuration. For example, an Osek Patur (עוסק פטור) cannot issue a tax invoice via any EZcount account, because this is legally prohibited and therefore blocked by Hyp.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.hyp.co.il/creditguard/documents-and-invoicing/overriding-invoice-account-details-in-the-request.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
