> For the complete documentation index, see [llms.txt](https://apidocs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.akinon.com/omnitron-openapis/invoice-item.md).

# Invoice Item

## Retrieve invoice item

> Retrieve a specific invoice item by ID.

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}},"hyper":{"name":"hyper","in":"query","description":"Activate id to hyperlink the response data.","required":false,"schema":{"type":"boolean"}}},"schemas":{"InvoiceItem":{"type":"object","properties":{"pk":{"type":"integer","description":"Primary key of the invoice item"},"invoice":{"type":"integer","description":"Related invoice ID"},"order_item":{"type":"integer","description":"Related order item ID"},"tax_rate":{"type":"number","format":"decimal","description":"Tax rate of the invoice item"},"tax_amount":{"type":"number","format":"decimal","description":"Tax amount of the invoice item"},"discount_rate":{"type":"number","format":"decimal","description":"Discount rate of the invoice item"},"discount_amount":{"type":"number","format":"decimal","description":"Discount amount of the invoice item"},"total_amount":{"type":"number","format":"decimal","description":"Total amount of the invoice item"},"net_amount":{"type":"number","format":"decimal","description":"Net amount of the invoice item"},"related_invoice_item":{"type":"integer","description":"Related invoice item ID"}}},"InvoiceItemHyperlinked":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"URL of the invoice item"},"pk":{"type":"integer","description":"Primary key of the invoice item"},"invoice":{"type":"string","format":"uuid","description":"Related invoice ID"},"order_item":{"type":"string","format":"uuid","description":"Related order item ID"},"tax_rate":{"type":"number","format":"decimal","description":"Tax rate of the invoice item"},"tax_amount":{"type":"number","format":"decimal","description":"Tax amount of the invoice item"},"discount_rate":{"type":"number","format":"decimal","description":"Discount rate of the invoice item"},"discount_amount":{"type":"number","format":"decimal","description":"Discount amount of the invoice item"},"total_amount":{"type":"number","format":"decimal","description":"Total amount of the invoice item"},"net_amount":{"type":"number","format":"decimal","description":"Net amount of the invoice item"},"related_invoice_item":{"type":"string","format":"uuid","description":"Related invoice item ID"}}}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"403":{"description":"Forbidden"},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/invoice_items/{id}":{"get":{"summary":"Retrieve invoice item","description":"Retrieve a specific invoice item by ID.","tags":["InvoiceItem"],"parameters":[{"$ref":"#/components/parameters/id_path"},{"$ref":"#/components/parameters/hyper"}],"responses":{"200":{"description":"Invoice item retrieved successfully","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/InvoiceItem"},{"$ref":"#/components/schemas/InvoiceItemHyperlinked"}]}}}},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## Retrieve detailed invoice item

> Retrieve a specific invoice item by ID with detailed information.

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}},"hyper":{"name":"hyper","in":"query","description":"Activate id to hyperlink the response data.","required":false,"schema":{"type":"boolean"}}},"schemas":{"InvoiceItem":{"type":"object","properties":{"pk":{"type":"integer","description":"Primary key of the invoice item"},"invoice":{"type":"integer","description":"Related invoice ID"},"order_item":{"type":"integer","description":"Related order item ID"},"tax_rate":{"type":"number","format":"decimal","description":"Tax rate of the invoice item"},"tax_amount":{"type":"number","format":"decimal","description":"Tax amount of the invoice item"},"discount_rate":{"type":"number","format":"decimal","description":"Discount rate of the invoice item"},"discount_amount":{"type":"number","format":"decimal","description":"Discount amount of the invoice item"},"total_amount":{"type":"number","format":"decimal","description":"Total amount of the invoice item"},"net_amount":{"type":"number","format":"decimal","description":"Net amount of the invoice item"},"related_invoice_item":{"type":"integer","description":"Related invoice item ID"}}},"InvoiceItemHyperlinked":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"URL of the invoice item"},"pk":{"type":"integer","description":"Primary key of the invoice item"},"invoice":{"type":"string","format":"uuid","description":"Related invoice ID"},"order_item":{"type":"string","format":"uuid","description":"Related order item ID"},"tax_rate":{"type":"number","format":"decimal","description":"Tax rate of the invoice item"},"tax_amount":{"type":"number","format":"decimal","description":"Tax amount of the invoice item"},"discount_rate":{"type":"number","format":"decimal","description":"Discount rate of the invoice item"},"discount_amount":{"type":"number","format":"decimal","description":"Discount amount of the invoice item"},"total_amount":{"type":"number","format":"decimal","description":"Total amount of the invoice item"},"net_amount":{"type":"number","format":"decimal","description":"Net amount of the invoice item"},"related_invoice_item":{"type":"string","format":"uuid","description":"Related invoice item ID"}}}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"403":{"description":"Forbidden"},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/invoice_items/{id}/detailed/":{"get":{"summary":"Retrieve detailed invoice item","description":"Retrieve a specific invoice item by ID with detailed information.","tags":["InvoiceItem"],"parameters":[{"$ref":"#/components/parameters/id_path"},{"$ref":"#/components/parameters/hyper"}],"responses":{"200":{"description":"Detailed invoice item retrieved successfully","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/InvoiceItem"},{"$ref":"#/components/schemas/InvoiceItemHyperlinked"}]}}}},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## List invoice items

> Retrieve a list of invoice items with optional filtering.

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"hyper":{"name":"hyper","in":"query","description":"Activate id to hyperlink the response data.","required":false,"schema":{"type":"boolean"}},"page":{"name":"page","in":"query","required":false,"description":"Specifies the page number of the current dataset","schema":{"type":"integer","minimum":1,"default":1}},"limit":{"name":"limit","in":"query","required":false,"description":"Indicates the number of rows on the current page.","schema":{"type":"integer","minimum":1,"default":10}},"created_date":{"name":"created_date","in":"query","required":false,"description":"Filter by creation date using supported lookup expressions (e.g., `gt`, `gte`, `lt`, `lte`, `date__gt`, etc.).","schema":{"type":"string","format":"date-time"}},"modified_date":{"name":"modified_date","in":"query","required":false,"description":"Filter by modification date using supported lookup expressions (e.g., `gt`, `gte`, `lt`, `lte`, `date__gt`, etc.).","schema":{"type":"string","format":"date-time"}},"pk__in":{"name":"pk__in","in":"query","description":"Filter by multiple primary key values (comma-separated list of integers)","required":false,"schema":{"type":"array","items":{"type":"integer"}},"style":"form","explode":false},"pk__gt":{"name":"pk__gt","in":"query","description":"Filter by primary key greater than a specific value.","schema":{"type":"string"}},"pk__gte":{"name":"pk__gte","in":"query","required":false,"description":"Filters by primary key greater than or equal to the given value","schema":{"type":"integer"}},"pk__lt":{"name":"pk__lt","in":"query","required":false,"description":"Filters by primary key less than the given value","schema":{"type":"integer"}},"pk__lte":{"name":"pk__lte","in":"query","required":false,"description":"Filters by primary key less than or equal to the given value","schema":{"type":"integer"}},"invoice":{"name":"invoice","in":"query","description":"Filter by invoice","required":false,"schema":{"type":"integer"}},"order_item":{"name":"order_item","in":"query","description":"Filter by order item ID.","required":false,"schema":{"type":"integer"}},"tax_rate":{"name":"tax_rate","in":"query","required":false,"description":"Filter by Tax Rate.","schema":{"type":"number","format":"decimal"}},"tax_amount":{"name":"tax_amount","in":"query","description":"Filter by tax amount","required":false,"schema":{"type":"number"}},"discount_rate":{"name":"discount_rate","in":"query","description":"Filter by discount rate","required":false,"schema":{"type":"number"}},"discount_amount":{"name":"discount_amount","in":"query","description":"Filter by discount amount","schema":{"type":"number","format":"decimal"}},"total_amount":{"name":"total_amount","in":"query","description":"Filter by total amount","required":false,"schema":{"type":"number"}},"net_amount":{"name":"net_amount","in":"query","description":"Filter by net amount","required":false,"schema":{"type":"number"}},"related_invoice_item":{"name":"related_invoice_item","in":"query","description":"Filter by related invoice item","required":false,"schema":{"type":"integer"}}},"schemas":{"InvoiceItem":{"type":"object","properties":{"pk":{"type":"integer","description":"Primary key of the invoice item"},"invoice":{"type":"integer","description":"Related invoice ID"},"order_item":{"type":"integer","description":"Related order item ID"},"tax_rate":{"type":"number","format":"decimal","description":"Tax rate of the invoice item"},"tax_amount":{"type":"number","format":"decimal","description":"Tax amount of the invoice item"},"discount_rate":{"type":"number","format":"decimal","description":"Discount rate of the invoice item"},"discount_amount":{"type":"number","format":"decimal","description":"Discount amount of the invoice item"},"total_amount":{"type":"number","format":"decimal","description":"Total amount of the invoice item"},"net_amount":{"type":"number","format":"decimal","description":"Net amount of the invoice item"},"related_invoice_item":{"type":"integer","description":"Related invoice item ID"}}},"InvoiceItemHyperlinked":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"URL of the invoice item"},"pk":{"type":"integer","description":"Primary key of the invoice item"},"invoice":{"type":"string","format":"uuid","description":"Related invoice ID"},"order_item":{"type":"string","format":"uuid","description":"Related order item ID"},"tax_rate":{"type":"number","format":"decimal","description":"Tax rate of the invoice item"},"tax_amount":{"type":"number","format":"decimal","description":"Tax amount of the invoice item"},"discount_rate":{"type":"number","format":"decimal","description":"Discount rate of the invoice item"},"discount_amount":{"type":"number","format":"decimal","description":"Discount amount of the invoice item"},"total_amount":{"type":"number","format":"decimal","description":"Total amount of the invoice item"},"net_amount":{"type":"number","format":"decimal","description":"Net amount of the invoice item"},"related_invoice_item":{"type":"string","format":"uuid","description":"Related invoice item ID"}}}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"403":{"description":"Forbidden"},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/invoice_items/":{"get":{"summary":"List invoice items","description":"Retrieve a list of invoice items with optional filtering.","tags":["InvoiceItem"],"parameters":[{"$ref":"#/components/parameters/hyper"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/created_date"},{"$ref":"#/components/parameters/modified_date"},{"$ref":"#/components/parameters/pk__in"},{"$ref":"#/components/parameters/pk__gt"},{"$ref":"#/components/parameters/pk__gte"},{"$ref":"#/components/parameters/pk__lt"},{"$ref":"#/components/parameters/pk__lte"},{"$ref":"#/components/parameters/invoice"},{"$ref":"#/components/parameters/order_item"},{"$ref":"#/components/parameters/tax_rate"},{"$ref":"#/components/parameters/tax_amount"},{"$ref":"#/components/parameters/discount_rate"},{"$ref":"#/components/parameters/discount_amount"},{"$ref":"#/components/parameters/total_amount"},{"$ref":"#/components/parameters/net_amount"},{"$ref":"#/components/parameters/related_invoice_item"}],"responses":{"200":{"description":"A list of invoice items.","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","description":"Total number of results."},"next":{"type":"string","format":"uri","nullable":true,"description":"URL of the next page of results."},"previous":{"type":"string","format":"uri","nullable":true,"description":"URL of the previous page of results."},"results":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/InvoiceItem"},{"$ref":"#/components/schemas/InvoiceItemHyperlinked"}]}}}}}}},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```

## List detailed invoice items

> Retrieve a list of detailed invoice items with optional filtering.

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"hyper":{"name":"hyper","in":"query","description":"Activate id to hyperlink the response data.","required":false,"schema":{"type":"boolean"}},"page":{"name":"page","in":"query","required":false,"description":"Specifies the page number of the current dataset","schema":{"type":"integer","minimum":1,"default":1}},"limit":{"name":"limit","in":"query","required":false,"description":"Indicates the number of rows on the current page.","schema":{"type":"integer","minimum":1,"default":10}},"created_date":{"name":"created_date","in":"query","required":false,"description":"Filter by creation date using supported lookup expressions (e.g., `gt`, `gte`, `lt`, `lte`, `date__gt`, etc.).","schema":{"type":"string","format":"date-time"}},"modified_date":{"name":"modified_date","in":"query","required":false,"description":"Filter by modification date using supported lookup expressions (e.g., `gt`, `gte`, `lt`, `lte`, `date__gt`, etc.).","schema":{"type":"string","format":"date-time"}},"pk__in":{"name":"pk__in","in":"query","description":"Filter by multiple primary key values (comma-separated list of integers)","required":false,"schema":{"type":"array","items":{"type":"integer"}},"style":"form","explode":false},"pk__gt":{"name":"pk__gt","in":"query","description":"Filter by primary key greater than a specific value.","schema":{"type":"string"}},"pk__gte":{"name":"pk__gte","in":"query","required":false,"description":"Filters by primary key greater than or equal to the given value","schema":{"type":"integer"}},"pk__lt":{"name":"pk__lt","in":"query","required":false,"description":"Filters by primary key less than the given value","schema":{"type":"integer"}},"pk__lte":{"name":"pk__lte","in":"query","required":false,"description":"Filters by primary key less than or equal to the given value","schema":{"type":"integer"}},"invoice":{"name":"invoice","in":"query","description":"Filter by invoice","required":false,"schema":{"type":"integer"}},"order_item":{"name":"order_item","in":"query","description":"Filter by order item ID.","required":false,"schema":{"type":"integer"}},"tax_rate":{"name":"tax_rate","in":"query","required":false,"description":"Filter by Tax Rate.","schema":{"type":"number","format":"decimal"}},"tax_amount":{"name":"tax_amount","in":"query","description":"Filter by tax amount","required":false,"schema":{"type":"number"}},"discount_rate":{"name":"discount_rate","in":"query","description":"Filter by discount rate","required":false,"schema":{"type":"number"}},"discount_amount":{"name":"discount_amount","in":"query","description":"Filter by discount amount","schema":{"type":"number","format":"decimal"}},"total_amount":{"name":"total_amount","in":"query","description":"Filter by total amount","required":false,"schema":{"type":"number"}},"net_amount":{"name":"net_amount","in":"query","description":"Filter by net amount","required":false,"schema":{"type":"number"}},"related_invoice_item":{"name":"related_invoice_item","in":"query","description":"Filter by related invoice item","required":false,"schema":{"type":"integer"}}},"schemas":{"InvoiceItem":{"type":"object","properties":{"pk":{"type":"integer","description":"Primary key of the invoice item"},"invoice":{"type":"integer","description":"Related invoice ID"},"order_item":{"type":"integer","description":"Related order item ID"},"tax_rate":{"type":"number","format":"decimal","description":"Tax rate of the invoice item"},"tax_amount":{"type":"number","format":"decimal","description":"Tax amount of the invoice item"},"discount_rate":{"type":"number","format":"decimal","description":"Discount rate of the invoice item"},"discount_amount":{"type":"number","format":"decimal","description":"Discount amount of the invoice item"},"total_amount":{"type":"number","format":"decimal","description":"Total amount of the invoice item"},"net_amount":{"type":"number","format":"decimal","description":"Net amount of the invoice item"},"related_invoice_item":{"type":"integer","description":"Related invoice item ID"}}},"InvoiceItemHyperlinked":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"URL of the invoice item"},"pk":{"type":"integer","description":"Primary key of the invoice item"},"invoice":{"type":"string","format":"uuid","description":"Related invoice ID"},"order_item":{"type":"string","format":"uuid","description":"Related order item ID"},"tax_rate":{"type":"number","format":"decimal","description":"Tax rate of the invoice item"},"tax_amount":{"type":"number","format":"decimal","description":"Tax amount of the invoice item"},"discount_rate":{"type":"number","format":"decimal","description":"Discount rate of the invoice item"},"discount_amount":{"type":"number","format":"decimal","description":"Discount amount of the invoice item"},"total_amount":{"type":"number","format":"decimal","description":"Total amount of the invoice item"},"net_amount":{"type":"number","format":"decimal","description":"Net amount of the invoice item"},"related_invoice_item":{"type":"string","format":"uuid","description":"Related invoice item ID"}}}},"responses":{"401":{"description":"Unauthorized Access","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Contains a detailed description of the error."},"code":{"type":"string","description":"Represents the server-side error code."}}}}}},"403":{"description":"Forbidden"},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}},"500":{"description":"Server Error"}}},"paths":{"/api/v1/invoice_items/detailed/":{"get":{"summary":"List detailed invoice items","description":"Retrieve a list of detailed invoice items with optional filtering.","tags":["InvoiceItem"],"parameters":[{"$ref":"#/components/parameters/hyper"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/created_date"},{"$ref":"#/components/parameters/modified_date"},{"$ref":"#/components/parameters/pk__in"},{"$ref":"#/components/parameters/pk__gt"},{"$ref":"#/components/parameters/pk__gte"},{"$ref":"#/components/parameters/pk__lt"},{"$ref":"#/components/parameters/pk__lte"},{"$ref":"#/components/parameters/invoice"},{"$ref":"#/components/parameters/order_item"},{"$ref":"#/components/parameters/tax_rate"},{"$ref":"#/components/parameters/tax_amount"},{"$ref":"#/components/parameters/discount_rate"},{"$ref":"#/components/parameters/discount_amount"},{"$ref":"#/components/parameters/total_amount"},{"$ref":"#/components/parameters/net_amount"},{"$ref":"#/components/parameters/related_invoice_item"}],"responses":{"200":{"description":"A list of detailed invoice items.","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","description":"Total number of results."},"next":{"type":"string","format":"uri","nullable":true,"description":"URL of the next page of results."},"previous":{"type":"string","format":"uri","nullable":true,"description":"URL of the previous page of results."},"results":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/InvoiceItem"},{"$ref":"#/components/schemas/InvoiceItemHyperlinked"}]}}}}}}},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"500":{"$ref":"#/components/responses/500"}}}}}}
```


---

# 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://apidocs.akinon.com/omnitron-openapis/invoice-item.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.
