> For the complete documentation index, see [llms.txt](https://developers.hyp.co.il/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.hyp.co.il/enterprise/documents-and-invoicing/overriding-invoice-account-details-in-the-request.md).

# 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 Enterprise 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 Enterprise.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
