Back to blog
chinacomplianceinvoicing

Using Claude/GPT/Gemini from China: a compliance checklist

ApiLink Team··10 min read简体中文

Using Claude, GPT, or Gemini from inside a Chinese company involves more than just “does the API call reach the endpoint.” Payment, invoicing, foreign-exchange rules, and accounting all sit on top of the technical layer. This is the compliance checklist we wish we had when we started.

Why this matters even if you are tiny

For an indie hacker spending $30/month on the OpenAI API, none of this matters. Your bank doesn’t care.

The threshold where it suddenly matters is somewhere around the first of these milestones, whichever comes first:

Hit any of those and the Stripe-charges-your-Visa flow stops being adequate. Below are the specific things you need to know.

Payment: what actually works from China

MethodDirect to OpenAI/Anthropic?Notes
International credit card (Visa/MC issued abroad)Yes, if you have oneCleanest path but most Chinese-issued cards are rejected by Stripe.
Mainland China bank cardNoStripe explicitly blocks Chinese-issued cards for these merchants.
Virtual card (Depay/Wildcard)SometimesWorks for OpenAI most of the time; rejected by Anthropic increasingly often in 2026.
Crypto (USDT)IndirectVia reseller gateways. You convert RMB → USDT → top-up credits.
RMB to a Chinese-domestic resellerNo, indirectWhat most Chinese teams actually do. Pay in RMB, get an invoice in RMB, gateway routes upstream.
The reason teams quietly switch to RMB resellers is rarely the exchange rate. It’s that “international card got declined” takes a week to debug and the team has work to ship today.

Invoicing: what your accountant actually needs

Chinese accounting rules require an invoice (发票) for any business expense you want to deduct. Two main types:

普通发票 (general invoice)

Suitable for most small/medium expenses. Issued by the seller in RMB. The buyer’s tax ID (统一社会信用代码) goes on the invoice. Sufficient for booking an expense; cannot be used to deduct input VAT.

增值税专用发票 (VAT special invoice)

Required if you want to deduct the 6% VAT on services. Requires the seller to be a 一般纳税人 (general VAT taxpayer, not a small-scale one). Process is identical to 普通发票 but the document carries the 6% VAT line and a special invoice number.

If your supplier can only issue 普通发票, you cannot recover the 6% VAT — it becomes a sunk cost. Always confirm 增值税专用发票 availability before signing up for any significant RMB volume.

What you cannot use

Foreign exchange: the part nobody warns you about

If you pay OpenAI in USD from a Chinese-issued international card, you trigger a foreign-exchange transaction. Personal cards have an annual quota ($50K USD equivalent under SAFE rules), and corporate cards have separate paperwork requirements.

Most Chinese teams hit one of two walls:

  1. Personal-card quota exhaustion when API spend goes industrial.
  2. Corporate forex requires bank pre-approval and documentation per transaction. Practical only at large scale.

Paying a Chinese-domestic reseller in RMB sidesteps both. The reseller has done the forex once at wholesale scale; you pay them in RMB and they handle the cross-border math.

Data residency and content policy

Worth saying clearly: routing through a Chinese-domestic gateway does not mean your prompts are governed by Chinese content rules. The model still runs on OpenAI/Anthropic infrastructure outside mainland China. What changes:

Read the gateway’s data-handling docs before sending anything sensitive. The good ones publish retention policy, encryption-at-rest details, and which jurisdictions logs sit in.

The actual checklist

For a team that is past the “personal Stripe card” phase:

  1. Identify your spend tier. Under $200/month? Stay on the international card. Over that, look at RMB resellers.
  2. Confirm invoice type. If you need to deduct VAT, confirm 增值税专用发票 availability before committing. Get the first sample invoice before scaling spend.
  3. Match invoice items to your accounting category. “技术服务费” or “软件服务费” is typically what your accountant will book against.
  4. Get a tax-ID-on-file process. A good reseller lets you store your 统一社会信用代码 once and auto-fills every invoice. Manually typing it for each top-up is a real workflow tax.
  5. Reconcile monthly. Pull a usage CSV from your reseller, match line items to invoices, archive both in your accounting system. Doing this early makes year-end audits trivial.
  6. Stress-test customer service.Email the reseller asking for a duplicate invoice or refund. Response time and tone tell you what you’ll get when something goes wrong in production.

Red flags when choosing a reseller

Closing

The technical bar for using foreign AI APIs from China is low. The compliance bar is what surprises teams a quarter into building. Get the invoice and payment path right early — it’s much easier than back-filling a year of receipts during a tax inspection.

ApiLink was built for exactly this: RMB-denominated, 增值税专用发票 on every top-up, real entity disclosure, no grey-market upstream. If you’re hitting any of the walls above, we’re an honest option to evaluate.

About ApiLink
ApiLink is an OpenAI-compatible gateway for GPT, Claude, Gemini, DeepSeek and more. One key, transparent streaming-safe billing, RMB invoicing for China-based teams.
Learn more →
Keep reading
ApiLink vs OpenRouter vs ZenMux: an honest gateway comparison
Three AI gateways, side by side. Where each one wins, where each one loses, and the honest answer about using more than one.
Pointing OpenAI Codex CLI at a third-party gateway
Two environment variables and Codex talks to Claude, Gemini, or DeepSeek instead of GPT. Plus the same trick for Cursor, Aider, Cline.
Anthropic prompt cache: when the 25% write premium actually pays back
Anthropic's prompt cache is 90% cheaper — on reads. The catch is the 25% write premium. Here's the math on when that pays off.