flexport-core-workflow-b

Featured

Execute Flexport secondary workflow: commercial invoices, products catalog, and freight invoices. Use when managing commercial invoices for customs, maintaining product catalogs, or handling freight billing through the Flexport API. Trigger: "flexport invoice", "flexport products", "flexport customs documents".

AI & Automation 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Flexport Core Workflow B: Invoices & Products ## Overview Manage Flexport commercial invoices for customs clearance, maintain the product catalog for landed cost calculations, and handle freight billing. These APIs complement the booking/shipment workflow in `flexport-core-workflow-a`. ## Prerequisites - Completed `flexport-install-auth` setup - Existing shipments or bookings (from workflow A) - Product SKUs defined in your system ## Instructions ### Step 1: Manage Product Catalog ```typescript const BASE = 'https://api.flexport.com'; const headers = { 'Authorization': `Bearer ${process.env.FLEXPORT_API_KEY}`, 'Flexport-Version': '2', 'Content-Type': 'application/json', }; // POST /products — add products to the Flexport Product Library const product = await fetch(`${BASE}/products`, { method: 'POST', headers, body: JSON.stringify({ name: 'Industrial Widget Type A', sku: 'WIDGET-A', hs_code: '8479.89', // Harmonized System code for customs country_of_origin: 'CN', unit_cost: { amount: 12.50, currency: 'USD' }, weight: { value: 2.5, unit: 'kg' }, dimensions: { length: 30, width: 20, height: 15, unit: 'cm' }, }), }).then(r => r.json()); console.log(`Product: ${product.data.id} | SKU: ${product.data.sku}`); ``` ### Step 2: Create Commercial Invoices ```typescript // POST /commercial_invoices — required for customs clearance const invoice = await fetch(`${BASE}/commercial_invoices`, { method: 'POST', headers,...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category