---
id: object/table/5356
type: object
title: Table 5356 "CRM Invoicedetail"
summary: Table 5356 "CRM Invoicedetail" in Base Application (Microsoft.Integration.D365Sales). 74 fields. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 3662309b6123d5b20b7cb16570f2ffa0e63720eccf3be520978ea4682a35e80c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMInvoicedetail.Table.al
    title: src/Layers/W1/BaseApp/Integration/D365Sales/CRMInvoicedetail.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5356
name: CRM Invoicedetail
namespace: Microsoft.Integration.D365Sales
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 74
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 19
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5356 "CRM Invoicedetail"

> Table 5356 "CRM Invoicedetail" in Base Application (Microsoft.Integration.D365Sales). 74 fields. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Integration.D365Sales · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/D365Sales/CRMInvoicedetail.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | CRM Invoicedetail |
| TableType | CRM |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | InvoiceDetailId | Guid | Invoice Product <small>caption</small> |  |
| 2 | SalesRepId | Guid | Salesperson <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 3 | IsProductOverridden | Boolean | Select Product <small>caption</small> |  |
| 4 | LineItemNumber | Integer | Line Item Number <small>caption</small> |  |
| 5 | IsCopied | Boolean | Copied <small>caption</small> |  |
| 6 | InvoiceId | Guid | Invoice ID <small>caption</small> | TableRelation [Table 5355 "CRM Invoice"](../table/5355.md) ("CRM Invoice".InvoiceId) |
| 7 | QuantityBackordered | Decimal | Quantity Back Ordered <small>caption</small> |  |
| 8 | UoMId | Guid | Unit <small>caption</small> | TableRelation [Table 5361 "CRM Uom"](../table/5361.md) ("CRM Uom".UoMId) |
| 9 | ProductId | Guid | Existing Product <small>caption</small> | TableRelation [Table 5348 "CRM Product"](../table/5348.md) ("CRM Product".ProductId) |
| 10 | ActualDeliveryOn | Date | Delivered On <small>caption</small> |  |
| 11 | Quantity | Decimal | — |  |
| 12 | ManualDiscountAmount | Decimal | Manual Discount <small>caption</small> |  |
| 13 | ProductDescription | Text[250] | Write-In Product <small>caption</small> |  |
| 14 | VolumeDiscountAmount | Decimal | Volume Discount <small>caption</small> |  |
| 15 | PricePerUnit | Decimal | Price Per Unit <small>caption</small> |  |
| 16 | BaseAmount | Decimal | Amount <small>caption</small> |  |
| 17 | QuantityCancelled | Decimal | Quantity Canceled <small>caption</small> |  |
| 18 | ShippingTrackingNumber | Text[100] | Shipment Tracking Number <small>caption</small> |  |
| 19 | ExtendedAmount | Decimal | Extended Amount <small>caption</small> |  |
| 20 | Description | BLOB | — |  |
| 21 | IsPriceOverridden | Boolean | Pricing <small>caption</small> |  |
| 22 | ShipTo_Name | Text[200] | Ship To Name <small>caption</small> |  |
| 23 | PricingErrorCode | Option | Pricing Error <small>caption</small> | OptionCaption: None,Detail Error,Missing Price Level,Inactive Price Level,Missing Quantity,Missing Unit Price,Missing Product,Invalid Product,Missing Pricing Code,Invalid Pricing Code,Missing UOM,Product Not In Price Level,Missing Price Level Amount,Missing Price Level Percentage,Missing Price,Missing Current Cost... |
| 24 | Tax | Decimal | — |  |
| 25 | CreatedOn | DateTime | Created On <small>caption</small> |  |
| 26 | ShipTo_Line1 | Text[250] | Ship To Street 1 <small>caption</small> |  |
| 27 | CreatedBy | Guid | Created By <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 28 | ModifiedBy | Guid | Modified By <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 29 | ShipTo_Line2 | Text[250] | Ship To Street 2 <small>caption</small> |  |
| 30 | ShipTo_Line3 | Text[250] | Ship To Street 3 <small>caption</small> |  |
| 31 | ModifiedOn | DateTime | Modified On <small>caption</small> |  |
| 32 | ShipTo_City | Text[80] | Ship To City <small>caption</small> |  |
| 33 | ShipTo_StateOrProvince | Text[50] | Ship To State/Province <small>caption</small> |  |
| 34 | ShipTo_Country | Text[80] | Ship To Country/Region <small>caption</small> |  |
| 35 | ShipTo_PostalCode | Text[20] | Ship To ZIP/Postal Code <small>caption</small> |  |
| 36 | WillCall | Boolean | Ship To <small>caption</small> |  |
| 37 | ShipTo_Telephone | Text[50] | Ship To Phone <small>caption</small> |  |
| 38 | ShipTo_Fax | Text[50] | Ship To Fax <small>caption</small> |  |
| 39 | ShipTo_FreightTermsCode | Option | Freight Terms <small>caption</small> | OptionCaption: ,FOB,No Charge |
| 40 | QuantityShipped | Decimal | Quantity Shipped <small>caption</small> |  |
| 41 | ProductIdName | Text[100] | — | FlowField: lookup("CRM Product".Name where(ProductId = field(ProductId))) |
| 42 | UoMIdName | Text[100] | — | FlowField: lookup("CRM Uom".Name where(UoMId = field(UoMId))) |
| 43 | SalesRepIdName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(SalesRepId))) |
| 44 | InvoiceStateCode | Option | Invoice Status <small>caption</small> | OptionCaption:  |
| 45 | CreatedByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(CreatedBy))) |
| 46 | ModifiedByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(ModifiedBy))) |
| 47 | VersionNumber | BigInteger | Version Number <small>caption</small> |  |
| 48 | OwningUser | Guid | Owning User <small>caption</small> |  |
| 49 | InvoiceIsPriceLocked | Boolean | Invoice Is Price Locked <small>caption</small> |  |
| 50 | OwningBusinessUnit | Guid | Owning Business Unit <small>caption</small> |  |
| 51 | ExchangeRate | Decimal | Exchange Rate <small>caption</small> |  |
| 52 | TransactionCurrencyId | Guid | Currency <small>caption</small> | TableRelation [Table 5345 "CRM Transactioncurrency"](../table/5345.md) ("CRM Transactioncurrency".TransactionCurrencyId) |
| 53 | UTCConversionTimeZoneCode | Integer | UTC Conversion Time Zone Code <small>caption</small> |  |
| 54 | TimeZoneRuleVersionNumber | Integer | Time Zone Rule Version Number <small>caption</small> |  |
| 55 | ImportSequenceNumber | Integer | Import Sequence Number <small>caption</small> |  |
| 56 | OverriddenCreatedOn | Date | Record Created On <small>caption</small> |  |
| 57 | VolumeDiscountAmount_Base | Decimal | Volume Discount (Base) <small>caption</small> |  |
| 58 | BaseAmount_Base | Decimal | Amount (Base) <small>caption</small> |  |
| 59 | PricePerUnit_Base | Decimal | Price Per Unit (Base) <small>caption</small> |  |
| 60 | TransactionCurrencyIdName | Text[100] | — | FlowField: lookup("CRM Transactioncurrency".CurrencyName where(TransactionCurrencyId = field(TransactionCurrencyId))) |
| 61 | Tax_Base | Decimal | Tax (Base) <small>caption</small> |  |
| 62 | ExtendedAmount_Base | Decimal | Extended Amount (Base) <small>caption</small> |  |
| 63 | ManualDiscountAmount_Base | Decimal | Manual Discount (Base) <small>caption</small> |  |
| 64 | OwnerId | Guid | Owner <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md), [Table 5359 "CRM Team"](../table/5359.md) (if (OwnerIdType = const(systemuser)) "CRM Systemuser".SystemUserId else if (OwnerIdType = const(team)) "CRM Team".TeamId) |
| 65 | OwnerIdType | Option | Owner <small>caption</small> | OptionCaption: ,systemuser,team |
| 66 | CreatedOnBehalfBy | Guid | Created By (Delegate) <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 67 | CreatedOnBehalfByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(CreatedOnBehalfBy))) |
| 68 | ModifiedOnBehalfBy | Guid | Modified By (Delegate) <small>caption</small> | TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) ("CRM Systemuser".SystemUserId) |
| 69 | ModifiedOnBehalfByName | Text[200] | — | FlowField: lookup("CRM Systemuser".FullName where(SystemUserId = field(ModifiedOnBehalfBy))) |
| 70 | SequenceNumber | Integer | Sequence Number <small>caption</small> |  |
| 71 | ParentBundleId | Guid | Parent Bundle <small>caption</small> |  |
| 72 | ProductTypeCode | Option | Product type <small>caption</small> | OptionCaption: Product,Bundle,Required Bundle Product,Optional Bundle Product |
| 73 | PropertyConfigurationStatus | Option | Property Configuration <small>caption</small> | OptionCaption: Edit,Rectify,NotConfigured |
| 74 | ProductAssociationId | Guid | Bundle Item Association <small>caption</small> |  |

## Keys

- Key1: InvoiceDetailId (clustered)

## Relations

- CreatedByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedOnBehalfByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedOnBehalfByName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- SalesRepIdName: CalcFormula [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- CreatedOnBehalfBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- ModifiedOnBehalfBy: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- OwnerId: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md) (conditional)
- SalesRepId: TableRelation [Table 5340 "CRM Systemuser"](../table/5340.md)
- TransactionCurrencyIdName: CalcFormula [Table 5345 "CRM Transactioncurrency"](../table/5345.md)
- TransactionCurrencyId: TableRelation [Table 5345 "CRM Transactioncurrency"](../table/5345.md)
- ProductIdName: CalcFormula [Table 5348 "CRM Product"](../table/5348.md)
- ProductId: TableRelation [Table 5348 "CRM Product"](../table/5348.md)
- InvoiceId: TableRelation [Table 5355 "CRM Invoice"](../table/5355.md)
- OwnerId: TableRelation [Table 5359 "CRM Team"](../table/5359.md) (conditional)
- UoMIdName: CalcFormula [Table 5361 "CRM Uom"](../table/5361.md)
- UoMId: TableRelation [Table 5361 "CRM Uom"](../table/5361.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC28

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "CRM Invoicedetail")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
