Invoice Item Resourceยถ

Get Invoice Itemยถ

HTTP Request

GET /api/invoiceItem/{id}

๐Ÿ“‹ Description: Retrieves detailed information about a specific invoice item identified by its unique ID, enabling users to access essential billing data for review and management.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

InvoiceItemDTO

Update Invoice Itemยถ

HTTP Request

PUT /api/invoiceItem/{id}

๐Ÿ“‹ Description: Updates the details of a specific invoice item identified by its unique ID, allowing for adjustments to quantities, pricing, or descriptions to ensure accurate billing and reporting.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

InvoiceItemDTO

true

Request body containing the updated invoice item details, including item description, quantity, price, and any applicable adjustments.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Update Invoice Itemsยถ

HTTP Request

PUT /api/invoiceItem/batch

๐Ÿ“‹ Description: Updates multiple invoice items in a single request, allowing for efficient batch processing and management of invoicing data.

Parameters

Name

In

Type

Required

Description

body

body

InvoiceItemDTO

true

Request body containing a batch of invoice item details, including item identifiers, quantities, and pricing information for efficient invoice management.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Create Invoice Itemsยถ

HTTP Request

POST /api/invoiceItem/batch

๐Ÿ“‹ Description: Submits a batch of invoice items for processing, enabling efficient management of multiple entries in a single request.

Parameters

Name

In

Type

Required

Description

body

body

InvoiceItemDTO

true

Request body containing a batch of invoice item details, including item descriptions, quantities, and pricing information for streamlined processing and management of invoicing.

Responses

Status

Meaning

Description

Schema

201

Created

Created

Inline

Response Schema

Create Invoice Itemยถ

HTTP Request

POST /api/invoiceItem

๐Ÿ“‹ Description: Creates a new invoice item within the system, allowing businesses to accurately track and manage billing details associated with their transactions.

Parameters

Name

In

Type

Required

Description

body

body

InvoiceItemDTO

true

Request body containing the invoice item details, including item description, quantity, unit price, and associated invoice ID for accurate billing and record-keeping.

Responses

Status

Meaning

Description

Schema

201

Created

Created

InvoiceItemDTO

Get Invoice Itemsยถ

HTTP Request

GET /api/invoiceItem/list/{invoiceId}

๐Ÿ“‹ Description: Retrieves a list of invoice items associated with the specified invoice ID, providing detailed insights into individual charges and adjustments for effective financial management.

Parameters

Name

In

Type

Required

Description

invoiceId

path

integer(int64)

true

Unique identifier for the invoice

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[InvoiceItemDTO]

false

none

[Data transfer object representing an individual line item within an invoice, detailing the product or service provided, its quantity, price, and any applicable discounts, essential for accurate billing and financial reporting.]

ยป id

integer(int64)

false

none

Unique identifier for the resource

ยป description

string

false

none

Description of the resource

ยป times

number

false

none

Represents the quantity of items associated with the invoice, essential for accurate billing and inventory management.

ยป labor

number

false

none

Represents the total labor cost associated with the invoice item, facilitating accurate financial tracking and reporting.

ยป materials

number

false

none

Represents the quantity of materials associated with the invoice item, essential for accurate billing and inventory management.

ยป total

number

false

none

Total value

ยป invoiceId

integer(int64)

false

none

Unique identifier for the invoice