# Form Guide

This guide explains how to generate shipping Forms for purchased shipments using the EasyPost API.

Easypost supports several shipping forms. Some forms are requested by creating a Form after purchasing a shipment, while others are automatically
generated by the carrier or enabled through shipment options. The sections below describe how each form is generated and which carriers support it.

---

## Prerequisites

- Purchase the shipment before creating a Form.
- Some forms require carrier-specific configuration.
- Some forms are generated automatically or by shipment options.

---

## Forms Created by Request

Create these forms by making a Form request after purchasing a shipment.

| Form | Parameters | Carrier |
|---|---|---|
| Label QR Code | Form | USPS. See Label Broker Guide |
| Return Packing Slip | Return packing slip parameters | All carriers |
| RMA QR Code | RMA QR Code parameters | Fedex (Note: This requires account provisioning. Please contact support to use this feature.) |

#### Return Packing Slip Parameters

```json
{
  "form": {
    "type": "return_packing_slip",
    "barcode": "RMA12345678900",
    "line_items": [
      {
        "product": {
          "title": "Square Reader",
          "barcode": "123456789"
        },
        "units": 8
      }
    ]
  }
}
```

#### RMA QR Code Parameters

```json
{
  "form": {
    "type": "rma_qr_code",
    "rma": {
      "pack_and_return": true,
      "label_image_data": "{{label_image_data}}",
      "include_packing_slip": true,
      "email_notification": true,
      "affiliated_merchant": "example",
      "order": {
        "order_date": "2020-09-22",
        "order_number": "123456",
        "line_items": [
          {
            "quantity": 2,
            "return_reason": "Custom String reason",
            "sku": "1234SKU"
          },
          {
            "quantity": 1,
            "return_reason": "Return requested",
            "sku": "1235SKU"
          }
        ]
      }
    }
  }
}
```

---

## Additional Resources

[Content omitted: related links and resources. Review the rendered documentation for navigation links.]