Table of Contents

MC-L3-001: No line items

Property Value
Severity error
Confidence processor-doc
Level L3
Brand mastercard
Impact blocksLevel3
Effective always
Pack l3lint.rules.mastercard 1.0.0

Requirement

Mastercard Data Rate III needs the invoice's line items.

Why

Data Rate III is the line-item level.

Check

required /lineItems (allowZero: false; positiveOnly: false; report: each)

Applies to

  • card products: corporate, purchasing
  • skipped when the MCC is on: mastercardLevel2ExcludedMcc, mastercardLevel3ExcludedMcc
  • skipped when /card/productCode in MBS, MEF

Message

The transaction has no line items; Mastercard needs them for Data Rate III.

Fix

Send the invoice lines.

Sources

Examples

Passing example

The transaction has 2 line items.

{
  "schemaVersion": "1.0",
  "id": "INV-30881",
  "amount": 280.36,
  "currency": "USD",
  "transactionDate": "2026-10-19",
  "channel": "cardNotPresent",
  "card": {
    "brand": "mastercard",
    "product": "corporate",
    "last4": "4444"
  },
  "merchant": {
    "mcc": "5047",
    "name": "Gulfside Medical Supply",
    "country": "US",
    "taxId": "12-3456789"
  },
  "customer": {
    "reference": "PO-90214"
  },
  "order": {
    "purchaseOrderNumber": "PO-90214",
    "invoiceNumber": "INV-30881"
  },
  "tax": {
    "amount": 17.36,
    "indicator": "taxable",
    "rate": 0.07
  },
  "amounts": {
    "discount": 0.00,
    "freight": 15.00,
    "duty": 0.00
  },
  "shipping": {
    "fromPostalCode": "33602",
    "toPostalCode": "33431",
    "toCountry": "US"
  },
  "billing": {
    "postalCode": "33431"
  },
  "lineItems": [
    {
      "sequence": 1,
      "description": "Nitrile exam gloves L 100",
      "productCode": "GLV-NTR-L100",
      "commodityCode": "42132203",
      "commodityScheme": "unspsc",
      "quantity": 10,
      "unitOfMeasure": "EAC",
      "unitCost": 12.50,
      "discountAmount": 5.00,
      "discountIndicator": true,
      "taxAmount": 8.40,
      "taxRate": 0.07,
      "taxable": true,
      "taxTypeCode": "01",
      "total": 120.00,
      "debitCreditIndicator": "debit"
    },
    {
      "sequence": 2,
      "description": "Isolation gown blue cs 50",
      "productCode": "GWN-ISO-BL50",
      "commodityCode": "42131606",
      "commodityScheme": "unspsc",
      "quantity": 2,
      "unitOfMeasure": "PCE",
      "unitCost": 64.00,
      "discountAmount": 0.00,
      "discountIndicator": false,
      "taxAmount": 8.96,
      "taxRate": 0.07,
      "taxable": true,
      "taxTypeCode": "01",
      "total": 128.00,
      "debitCreditIndicator": "debit"
    }
  ]
}

Failing example

The line items array is empty.

{
  "schemaVersion": "1.0",
  "id": "INV-30881",
  "amount": 280.36,
  "currency": "USD",
  "transactionDate": "2026-10-19",
  "channel": "cardNotPresent",
  "card": {
    "brand": "mastercard",
    "product": "corporate",
    "last4": "4444"
  },
  "merchant": {
    "mcc": "5047",
    "name": "Gulfside Medical Supply",
    "country": "US",
    "taxId": "12-3456789"
  },
  "customer": {
    "reference": "PO-90214"
  },
  "order": {
    "purchaseOrderNumber": "PO-90214",
    "invoiceNumber": "INV-30881"
  },
  "tax": {
    "amount": 17.36,
    "indicator": "taxable",
    "rate": 0.07
  },
  "amounts": {
    "discount": 0.00,
    "freight": 15.00,
    "duty": 0.00
  },
  "shipping": {
    "fromPostalCode": "33602",
    "toPostalCode": "33431",
    "toCountry": "US"
  },
  "billing": {
    "postalCode": "33431"
  },
  "lineItems": []
}