Skip to main content
GET
Retrieve an invoice line item

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

id
string<uuid>
required

Invoice Line Item ID

Example:

"91106968-1abd-4d64-85c1-4e73d96fb997"

Response

Invoice Line Items response

@id
string<iri-reference>

Invoice Line Item IRI reference

Example:

"/invoices/line-items/91106968-1abd-4d64-85c1-4e73d96fb997"

@type
string
default:InvoiceLineItem
id
string<uuid>

Invoice line item ID

Example:

"91106968-1abd-4d64-85c1-4e73d96fb997"

invoice
object
identificationNumber
string | null

Seller-provided item or SKU identifier

productIdentification
string

SAT product or service code from the c_ClaveProdServ catalog

Example:

"50121537"

description
string

Line item description from the CFDI

Example:

"Apple iPhone"

unitAmount
number<double>

Unit price before quantity is applied

Example:

70

unitCode
string

SAT unit code from the c_ClaveUnidad catalog

Example:

"KGM"

quantity
number<double>

Quantity billed for this line item

Example:

60

discountAmount
number<double>

Discount amount applied to this line item

Example:

0

totalAmount
number<double>

Total line item amount after quantity and discounts

Example:

4200

retainedTaxes
object

Retained tax amount of the line item by tax type. Carries no rate or factor type; use the line item's taxes for the per-node detail, including lines where the CFDI applies the same tax more than once. An amount is 0 when the line item does not include that tax, and null for line items extracted before 2023.

transferredTaxes
object

Transferred tax amount of the line item by tax type. Carries no rate or factor type; use the line item's taxes for the per-node detail, including lines where the CFDI applies the same tax more than once. An amount is 0 when the line item does not include that tax, and null for line items extracted before 2023.

taxes
object[]

Full tax detail for the line item, one entry per tax node (Traslado or Retencion) in the CFDI concepto. Carries the rate and factor type, which retainedTaxes and transferredTaxes do not. A tax can appear more than once when the CFDI applies it at different rates.

Example:
createdAt
string

Date and time the resource was created

Example:

"2020-01-01T12:15:00.000Z"

updatedAt
string

Date and time the resource was last updated

Example:

"2020-01-01T12:15:00.000Z"