const invoice = await client.invoices.create({
amount: 5000, // $50.00 in cents
currency: 'USD',
chain: 'base', // default if omitted
description: 'GPT-4 API calls - Agent Alpha - February 2026',
buyer: {
companyName: 'Acme AI Corp',
email: 'billing@acme-ai.com',
address: '123 Agent Street, San Francisco, CA 94105',
vat: 'US-987654321',
},
seller: {
name: 'My AI Platform',
address: '456 Tech Blvd, Austin, TX 78701',
vat: 'US-123456789',
wallet: '0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18',
},
});