Get all invoice details
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
invoice_detailsName | Description | Type | Additional information |
---|---|---|---|
id |
Primary Key |
globally unique identifier |
Required |
invoice_id |
Key of invoice to which this line belongs |
globally unique identifier | |
article_id |
Key of article on this line |
globally unique identifier | |
article_name |
Name of article on this line |
string | |
article_description |
Description of article on this line |
string | |
article_code |
Code of article on this line |
string | |
line_num |
Number of this line within the invoice |
integer | |
quantity |
Quantity of article |
integer | |
article_price |
Price of article |
decimal number | |
discount |
Discount value (absolute) applied to this line |
decimal number | |
vat_rate |
VAT ratio applied to this line |
decimal number | |
vat_value |
Value (absolute) of VAT on this line |
decimal number | |
total_line |
quantity_decimal*(article_price-discount+vat_value) |
decimal number | |
article_stock_location_id |
In case of stock management enabled, the stock that has been used |
globally unique identifier | |
quantity_decimal |
Quantity as decimal type |
decimal number | |
source_db_table_name |
The name of db table |
string | |
source_id_in_table |
Key of the object from which the invoice details is derived |
globally unique identifier | |
serial_number |
Serial number |
string | |
no_warranty_reason |
The reason for no warranty |
string | |
is_under_warranty |
The item is under warranty |
boolean | |
discount_percentage |
Discount percentage |
decimal number | |
cost_price |
Cost price |
decimal number | |
company_vat_id |
The id of company vat |
globally unique identifier | |
company_vat_code |
The code of company vat |
string | |
modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
{ "id": "9b81b6c3-d043-4b03-bc07-bd3f880261aa", "invoice_id": "2cf92f03-a7b6-4d48-94af-c0fe1e43dc3d", "article_id": "5c864bd8-6a8c-4777-8a26-ef9762f37d29", "article_name": "sample string 4", "article_description": "sample string 5", "article_code": "sample string 6", "line_num": 7, "quantity": 8, "article_price": 9.0, "discount": 10.0, "vat_rate": 11.0, "vat_value": 12.0, "total_line": 13.0, "article_stock_location_id": "b7bc5e77-f806-440d-99f5-b69d52a114fb", "quantity_decimal": 15.0, "source_db_table_name": "sample string 16", "source_id_in_table": "b3675b5c-5c7c-4af8-a0de-3f8e1cfe0265", "serial_number": "sample string 18", "no_warranty_reason": "sample string 19", "is_under_warranty": true, "discount_percentage": 21.0, "cost_price": 22.0, "company_vat_id": "96f9f35d-4314-4ec8-ab63-f027de04b0a1", "company_vat_code": "sample string 24", "modified_dateutc": "2025-01-18T04:57:11.2659673+00:00" }