---
id: TST-COM-ORD-125
title: 'InvoiceRequestOf: a shipping line that carries the discount of a shipping offer'
kind: unit
product_area: commerce
module: orders
revision: 1
status: draft
source_sha:
  services-commerce: c8b66a98e2490617aec38ba5c8165dd9bd0a8f9b
repository: services-commerce
files:
  - modules/orders/tests/unit/billing/invoice-request-shipping.spec.js
implements: []
environment: mock
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 1
isolation: 'The suite owns its in-memory inputs, scripted responses and rendered component state.'
evidence:
  - provenance: test
    source: 'services-commerce:modules/orders/tests/unit/billing/invoice-request-shipping.spec.js'
    test_cases:
      - 'keeps the order’s shipping the NET charge and its discount the item lines’: the totals identity holds'
      - 'sends the shipping line at its gross price with its discount and the discount product, net zero'
      - >-
        states the header discount as the sum of every line’s, the shipping line’s included, and the total as
        the order’s
      - names the shipping offer as the shipping line’s discount reason
      - is a body Accounting’s contract accepts
      - 'bills a charge partly taken off: gross 1200, 500 off, 700 shipped'
      - still refuses an order whose shipping is not the net the shipping lines carry
      - still takes no discount on a fee line
scenario_coverage: []
dependency_evidence:
  provenance: test
  source: 'services-commerce:modules/orders/tests/unit/billing/invoice-request-shipping.spec.js'
  declared_by_test: 'the function, Accounting''s contract schema. Doubled: nothing (the inputs are literals).'
---

# InvoiceRequestOf: a shipping line that carries the discount of a shipping offer

## Verification Boundary

The unit suite checks the named contract or helper with controlled inputs.

## What This Suite Proves

The registered cases check invoiceRequestOf: a shipping line that carries the discount of a shipping offer with their fixture records and assertions. Scenario bindings name only the examples those cases exercise.

## What It Does Not Prove

A registered file supplies no run result or verified conformance by itself. Local fixtures do not establish deployed cross-service behavior or complete browser journeys.

## Real Dependencies and Test Doubles

Inputs and external responses are controlled in process; this suite establishes no deployed service behavior.

## Must Not Be Doubled

The named contract validation or component behavior under assertion must use its actual implementation.
