> ## Documentation Index > Fetch the complete documentation index at: https://www.bloxs.io/llms.txt > Use this file to discover all available pages before exploring further. # Get all sales invoice service items > Get all sales invoice service items in the system. ## OpenAPI ````json GET /api/v1/invoices/salesinvoiceservices/serviceitems { "openapi": "3.0.4", "info": { "title": "Invoices V1", "description": "Welcome to BETA version of the new Invoices API - intended for client public testing before the launch of the final version. During this BETA phase, we'll be improving the API based on specific client's feedbacks.", "version": "v1" }, "security": [ {} ], "tags": [ { "name": "Budgets" }, { "name": "Compactions" }, { "name": "ConceptPurchaseInvoices" }, { "name": "JournalPosts" }, { "name": "Journals" }, { "name": "LedgerAccounts" }, { "name": "Metadata" }, { "name": "PaymentReminders" }, { "name": "PurchaseInvoices" }, { "name": "PurchaseOrders" }, { "name": "SalesInvoices" }, { "name": "SalesInvoiceServices" } ], "paths": { "/api/v1/invoices/salesinvoiceservices/serviceitems": { "get": { "tags": [ "Admin" ], "summary": "Get all sales invoice service items", "description": "Get all sales invoice service items in the system.", "operationId": "GetSalesInvoiceServiceItems", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/SalesInvoiceServiceItemDetail" } } } } } }, "x-d360-narrative-url": "

Get All Sales Invoice Service Items

Retrieves the full list of service items configured in the system.

A service item is a catalog entry (for example \"Office space rental 1 hour\") that a sales invoice service line references by name via serviceItemName; it determines the line's default description, default quantity, and default amounts, along with the ledger account and resulting VAT rate applied.

Service items are managed by the user in the Bloxs admin section.

A developer calls this endpoint to look up the valid values for serviceItemName before creating a sales invoice service, or to populate a selection list in an integrating application.


Request Fields

This endpoint takes no request parameters.

Field

Type

Required

Description

(none)

This endpoint has no request fields.


Response Fields

Field

Type

Required

Description

name

string, max 256

Required

The name of the service item, used as the value of serviceItemName on a sales invoice service line.

defaultInvoiceLineDescription

string, nullable

Optional

The default description applied to an invoice line when this service item is used, unless overridden by the line's own description.

defaultNumberOfItems

integer

Optional

The default number of items/units applied when this service item is used, unless overridden on the line.

amountExcl

number (double)

Optional

The default amount excluding VAT for this service item, in the administration's base currency (major units).

amountVAT

number (double)

Optional

The default VAT amount for this service item, in the administration's base currency (major units).

amountIncl

number (double)

Optional

The default amount including VAT for this service item, in the administration's base currency (major units).

" } } }, "components": { "schemas": { "SalesInvoiceServiceItemDetail": { "required": [ "name" ], "type": "object", "properties": { "name": { "maxLength": 256, "minLength": 0, "type": "string" }, "defaultInvoiceLineDescription": { "type": "string", "nullable": true }, "defaultNumberOfItems": { "type": "integer", "format": "int32" }, "amountExcl": { "type": "number", "format": "double" }, "amountVAT": { "type": "number", "format": "double" }, "amountIncl": { "type": "number", "format": "double" } }, "additionalProperties": false } } } } ````