Skip to content
Astera Technology

Define a gift receipt’s fields independently of the original receipt

Retain the internal sale reference while omitting fields excluded by the supplied gift-receipt rule.

Create an output-specific field list

Synthetic shop gift receipt includes item name, quantity and return reference RET-A, but excludes price, payment method and purchaser email. The full internal sale keeps those values. Printing the gift receipt does not erase the sale or grant a return approval; RET-A is only the lookup reference.

Synthetic gift-receipt field requirements
ConstraintRequired recordExample decision rule
Included fieldsItem, quantity, return referenceKeep RET-A for lookup
Excluded fieldsPrice, payment method, purchaser emailNot present in gift output
Internal historyOriginal sale ID and full recordOutput omission does not delete values
Download editable CSV ↓

Compare a compliant output with an overexposed one

Filled synthetic acceptance cases
CaseInputExpected decision
Gift output AItem + quantity + RET-AMeets field rule
Gift output BSame plus purchaser emailFails excluded-field rule
Download editable CSV ↓
  1. Identify output type
  2. Apply its field list
  3. Retain internal sale relation
  4. Check included and excluded fields

An unreadable return reference needs correction before printing; removing it would prevent the defined lookup task.

Does RET-A on the gift receipt prove returned goods are accepted?

Show the worked answer

No. It supports finding the original sale; return identity, condition and approval remain separate decisions.

Verify an exported or printed gift copy as well as the screen; excluded fields must stay absent from each defined output.

Related resources