# Pro Forma Invoice PDF Generator

> Pro Forma Invoice PDF Generator is a paid API for AI agents from amanchain-relay.gitajhd.workers.dev, paid per call via x402, $0.004977/call, status unknown (last checked 2026-09-14).

Generates a professional A4 pro forma invoice PDF with line items, totals, validity date, and customs-ready formatting for advance payments and pre-billing.

## Facts

- Endpoint: POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-invoice-proforma
- Price: $0.004977/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pro-forma-invoice-pdf-generator-0068357a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7oHAcpYfuwTgeUcAYOR23

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability pro-forma-invoice-pdf-generator-0068357a -d '<json body>'
```

Example prompt: Can you generate a pro forma invoice PDF for a shipment of 50 units of industrial valves at $120 each to Acme Corp, valid until December 31, 2025, for customs and advance payment purposes?

## When to prefer this

Choose this endpoint when you need a ready-to-use, properly formatted pro forma invoice PDF without setting up an account or API key, especially for customs declarations, export shipments, or advance payment requests where a formal A4 document is required. Ideal for agents automating trade documentation workflows on a per-call pay-as-you-go basis via USDC micropayments.

## Known failure modes

- Missing required invoice fields (e.g. no line items or amounts) results in a generation error
- Malformed JSON request body returns a 400-level error
- Payment via x402 USDC not confirmed results in 402 Payment Required
- Service temporarily unavailable on AmanChain node returns 5xx error
- Invalid or unsupported currency format may cause calculation errors

## How this service works

Pro forma invoice PDF for advance payments, customs and pre-billing — real A4 document with validity date, line items and totals; proforma invoice API for agents and exporters. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-invoice-proforma","request":"<input>"}.

## Output

Returns a real A4-formatted pro forma invoice PDF document containing buyer/seller details, numbered line items with quantities and unit prices, subtotals, totals, validity date, and all fields required for customs clearance and advance payment processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pro-forma-invoice-pdf-generator-0068357a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from amanchain-relay.gitajhd.workers.dev](https://www.zero.xyz/host/amanchain-relay.gitajhd.workers.dev/llms.txt)
