---
title: "SalesInvoiceLineItems (Robaws)"
description: "Myyntilaskun rivitiedot"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/robaws/Robaws.SalesInvoiceLineItems.SalesInvoiceLineItems
original: https://documentation.invantive.eu/en/datamodels/robaws/Robaws.SalesInvoiceLineItems.SalesInvoiceLineItems
updated: 2026-12-04T08:22:27Z
license: https://documentation.invantive.eu/fi/
---

# SalesInvoiceLineItems: Robaws Sales Invoice Line Items

`read only` `REST`

- Luettelo: `Robaws`
- Kaavio: `SalesInvoiceLineItems`
- Label: Sales Invoice Line Items

Hae

Voi hakea vain tietoja.

## API-lähde

- Päätepiste: `/api/v2/sales-invoice-line-items`
- Toiminto: `get /api/v2/sales-invoice-line-items`

## Suorituskykyominaisuudet

| Ominaisuus | Arvo |
|---|---:|
| Keskimääräinen yhteysviive (ms) | 157 |
| Täysskannausrivit minuutissa | 13,430 |
| Query-rivien määrä minuutissa | 993 |
| Kirjoita rivejä minuutissa | 539 |

Tulos voidaan tallentaa välimuistiin asiakaspuolella.

## Parametrit

| Nimi | Tietotyyppi | Tarvitaan | Oletus | Dokumentaatio |
|---|---|:---:|---|---|
| `articleId` | `` | [ ] |  |  |
| `salesInvoiceId` | `` | [ ] |  |  |
| `searchText` | `` | [ ] |  |  |
| `sort` | `` | [ ] |  |  |
| `updatedFrom` | `` | [ ] |  |  |
| `withArchived` | `` | [ ] |  |  |

## Taulukon sarakkeet

Taulukon `SalesInvoiceLineItems` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `activityId` | `varchar2` | Toiminnon tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `activityId` |  |
| `archivedAt` | `datetime` | Arkistoitu osoitteessa | [ ] | alustan suodattimet, kirjoitettavissa, `archivedAt` |  |
| `articleId` | `varchar2` | Artikkelin tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `articleId` |  |
| `createdAt` | `datetime` | Luotu | [ ] | alustan suodattimet, kirjoitettavissa, `createdAt` |  |
| `deletedAt` | `datetime` | Poistettu | [ ] | alustan suodattimet, kirjoitettavissa, `deletedAt` |  |
| `description` | `varchar2` | Kuvaus | [ ] | alustan suodattimet, kirjoitettavissa, `description` |  |
| `discount` | `decimal` | Alennus | [ ] | alustan suodattimet, kirjoitettavissa, `discount` |  |
| `extendedDescription` | `varchar2` | Laajennettu kuvaus | [ ] | alustan suodattimet, kirjoitettavissa, `extendedDescription` |  |
| `extraFields` | `varchar2` | Lisäkentät | [ ] | writable | Sisäkkäisen objektin JSON-teksti. |
| `generalLedgerAccountId` | `varchar2` | Pääkirjatilin tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `generalLedgerAccountId` |  |
| `id` | `varchar2` | ID | [ ] | alustan suodattimet, kirjoitettavissa, `id` |  |
| `installationId` | `varchar2` | Asennustunnus | [ ] | alustan suodattimet, kirjoitettavissa, `installationId` | Deprecated: an installation has no meaning on an invoice line.Returns the line's material, the same as materialId. |
| `lineNumber` | `varchar2` | Rivinumero | [ ] | alustan suodattimet, kirjoitettavissa, `lineNumber` |  |
| `lockedAt` | `datetime` | Lukittu klo | [ ] | alustan suodattimet, kirjoitettavissa, `lockedAt` |  |
| `materialId` | `varchar2` | Materiaalin tunniste | [ ] | alustan suodattimet, kirjoitettavissa, `materialId` |  |
| `orderId` | `varchar2` | Tilausnumero | [ ] | alustan suodattimet, kirjoitettavissa, `orderId` |  |
| `postId` | `varchar2` | Viestin tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `postId` |  |
| `price` | `decimal` | Hinta | [ ] | alustan suodattimet, kirjoitettavissa, `price` |  |
| `projectId` | `varchar2` | Projektin tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `projectId` |  |
| `quantity` | `decimal` | Määrä | [ ] | alustan suodattimet, kirjoitettavissa, `quantity` | The line's quantity as stored: never negative on a credit note, unlike the line's money.To count sold quantities net of credit notes, filter or group on links.salesInvoice.attributes.type.In /aggregate, SUM, AVG, MIN and MAX skip the lines that are not part of the invoice total (chapters, titles, text, variants and options); COUNT still counts them. |
| `rentalTicketId` | `varchar2` | Vuokrauslipun tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `rentalTicketId` |  |
| `salesInvoiceId` | `varchar2` | Myyntilaskun tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `salesInvoiceId` | Only present when obtained via bulk endpoint |
| `styleName` | `varchar2` | Tyylin nimi | [ ] | alustan suodattimet, kirjoitettavissa, `styleName` |  |
| `totalExclVat` | `decimal` | Yhteensä ilman arvonlisäveroa | [ ] | alustan suodattimet, kirjoitettavissa, `totalExclVat` | The line's total excluding VAT, in its sales invoice's currency (links.salesInvoice.attributes.currency); the exchange rate is not applied.For the line's total in the company's default currency, use totalExclVatInDefaultCurrency.In /aggregate, SUM, AVG, MIN and MAX count a credit note's line negative; /query returns the value as stored.In /aggregate, SUM, AVG, MIN and MAX skip the lines that are not part of the invoice total (chapters, titles, text, variants and options); COUNT still counts them.On the line of an advance or final invoice, SUM, AVG, MIN and MAX in /aggregate count the share that invoice bills (its advance percentage, or the rest on the final invoice), as the invoice's own totals do; /query returns the full amount as stored. |
| `totalExclVatInDefaultCurrency` | `decimal` | Yhteensä ilman arvonlisäveroa oletusvaluutassa | [ ] | alustan suodattimet, kirjoitettavissa, `totalExclVatInDefaultCurrency` | The line's total excluding VAT, converted to the company's default currency at its sales invoice's exchange rate.Use it to add up lines across invoices in different currencies; totalExclVat holds the same total in the invoice's own currency.In /aggregate, SUM, AVG, MIN and MAX count a credit note's line negative; /query returns the value as stored.In /aggregate, SUM, AVG, MIN and MAX skip the lines that are not part of the invoice total (chapters, titles, text, variants and options); COUNT still counts them.On the line of an advance or final invoice, SUM, AVG, MIN and MAX in /aggregate count the share that invoice bills (its advance percentage, or the rest on the final invoice), as the invoice's own totals do; /query returns the full amount as stored. |
| `transportId` | `varchar2` | Kuljetustunnus | [ ] | alustan suodattimet, kirjoitettavissa, `transportId` |  |
| `type` | `varchar2` | Tyyppi | [ ] | alustan suodattimet, kirjoitettavissa, `type` |  |
| `unitType` | `varchar2` | Asuntotyyppi | [ ] | alustan suodattimet, kirjoitettavissa, `unitType` |  |
| `updatedAt` | `datetime` | Päivitetty | [ ] | alustan suodattimet, kirjoitettavissa, `updatedAt` |  |
| `vatTariffId` | `varchar2` | ALV-tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `vatTariffId` |  |
| `workOrderId` | `varchar2` | Työmääräyksen tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `workOrderId` |  |

## Avaimet

| Avain | Sarake | Viittaa | Laji | Kuvaus |
|---|---|---|---|---|
| `SalesInvoiceLineItems_activityId_fk` | `activityId` | [Activities](Robaws.Activities.Activities)`.id` | Avain |  |
| `SalesInvoiceLineItems_installationId_fk` | `installationId` | [Installations](Robaws.Installations.Installations)`.id` | Avain |  |
| `SalesInvoiceLineItems_projectId_txt` | `projectId` | [Projects](Robaws.Projects.Projects)`.id` | Tekstimuotoinen | The referenced row, for as long as Robaws still lists it: a deleted or purged row is no longer listed, and a document may keep referring to it. |
| `SalesInvoiceLineItems_vatTariffId_fk` | `vatTariffId` | [VatTariffs](Robaws.VatTariffs.VatTariffs)`.id` | Avain |  |
| `SalesInvoiceLineItems_workOrderId_fk` | `workOrderId` | [WorkOrders](Robaws.WorkOrders.WorkOrders)`.id` | Avain |  |


## Julkaisutiedot

Mitä muutoksia ajurien taulukoissa, sarakkeissa, attribuuteissa ja ominaisuuksissa on tapahtunut kunkin julkaisun yhteydessä:

- [ROBAWS](/fi/release-notes/drivers/robaws)
