# Posted Sales Invoice Tracking Lines

`GET` _(Table: Sales Invoice Line)_

```
eOne/core/v1.0/postedSalesInvoiceTrackingLines
```

The serial, lot, and package numbers recorded against a posted sales invoice at the moment it posted, a point-in-time record of exactly which tracked units moved.

> **Note:** Read-only. This is a snapshot taken when the document posted, not the live tracking on stock. There is nothing to create, update, or delete.

Use it to report which serial / lot / package numbers left or entered inventory on a [Posted Sales Invoices](https://eonesolutions.github.io/eone-bc-integration/core-postedSalesInvoices.md). One row per tracked quantity.

## Posted Sales Invoice Tracking Lines fields

_API column → BC field._

**Legend**

- _(req)_ required on create
- _(res)_ resolver
- _(cur)_ currency-translated
- _(ro)_ read-only
- _(ext)_ added to this endpoint by another extension (BC field name shown; its API column name is not known here)

| API | BC field | Notes |
| --- | --- | --- |
| `id` | SystemId | BC record GUID; the OData key. _(ro)_ |
| `dimensionSetId` | Dimension Set ID | The dimension set this record carries. Join it to the dimensionSetEntries endpoint to resolve the full set of dimension codes and values, including any beyond the eight shortcut dimension columns. _(ro)_ |
| `bcCompanyId` | bcCompanyId | The company this row belongs to - the same GUID that appears in the request URL. Present on every endpoint so a store pooling several companies can keep them apart without relying on which URL it called. _(ro)_ |
| `bcCompanyName` | bcCompanyName | The name of the company this row belongs to. _(ro)_ |
| `documentNumber` | Document No. | Parent posted invoice number. _(ro)_ |
| `lineNumber` | Line No. | _(ro)_ |
| `integrationId` | EONE Integration Id | Your external key. _(ro)_ |
| `type` | Type | _(ro)_ |
| `itemNumber` | No. | Item/G/L/resource number depending on `type`. _(ro)_ |
| `itemReferenceNumber` | Item Reference No. | _(ro)_ |
| `description` | Description | _(ro)_ |
| `description2` | Description 2 | _(ro)_ |
| `quantity` | Quantity | _(ro)_ |
| `unitOfMeasureCode` | Unit of Measure Code | _(ro)_ |
| `variantCode` | Variant Code | _(ro)_ |
| `locationCode` | Location Code | _(ro)_ |
| `unitPrice` | Unit Price | _(ro)_ |
| `lineDiscountPercent` | Line Discount % | _(ro)_ |
| `lineDiscountAmount` | Line Discount Amount | _(ro)_ |
| `lineAmount` | Line Amount | _(ro)_ |
| `amountIncludingTax` | Amount Including VAT | _(ro)_ |
| `shipmentNumber` | Shipment No. | _(ro)_ |
| `serialNumbers` | serialNumbers | Tracking part only. Comma-delimited, de-duplicated serials resolved per line by EONE Posted Doc Item Tracking. _(ro)_ |
| `lotNumbers` | lotNumbers | Tracking part only. Comma-delimited, de-duplicated lots. _(ro)_ |
| `packageNumbers` | packageNumbers | Tracking part only. Comma-delimited, de-duplicated package numbers. _(ro)_ |
| `trackedQuantity` | trackedQuantity | Tracking part only. Total quantity with tracking assigned on the line. _(ro)_ |
| `lastModifiedDateTime` | SystemModifiedAt | _(ro)_ |

## Related pages

Nested under [Posted Sales Invoices](https://eonesolutions.github.io/eone-bc-integration/core-postedSalesInvoices.md).
