Get all invoice details

Request Information

URI Parameters :

None.

Body Parameters :

None.

Response Information

Resource Description :

invoice_details
NameDescriptionTypeAdditional 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*(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
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "ed7b1d09-eb6a-4ab9-bcab-00e287dc02b3",
  "invoice_id": "d29ed5d5-76e1-4598-943d-920b99d68815",
  "article_id": "4cbcf0a3-fb3d-45e6-b2ba-bca2be46b734",
  "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": "316a0586-c8b4-4368-a181-4e37fff5d4cb",
  "modified_dateutc": "2024-03-26T17:48:49.8892466+00:00"
}