Add complete end-to-end QuickBooks invoicing workflow for the invoicing page: - Add `jspdf` dependency for client-side PDF generation - Implement updated item status handling with fallback for new invoice statuses - Add server-side proxy API for secure QuickBooks customer lookup - Build utilities to combine QuickBooks invoices and picking slips into a single PDF - Add invoicing view models for row grouping, payload construction, and status checks - Add full test coverage for all new components, APIs, and utilities - Include feature design documentation and sample n8n workflow config
58 lines
No EOL
1.5 KiB
JSON
58 lines
No EOL
1.5 KiB
JSON
{
|
|
"assigned_at": "2026-07-07 08:00:00.123Z",
|
|
"collectionId": "pbc_2456927940",
|
|
"collectionName": "order_items",
|
|
"cost_price": 0,
|
|
"created": "2026-07-07 11:21:07.365Z",
|
|
"delivered_at": "",
|
|
"delivery_status": "",
|
|
"description": "Welding rod 3.2mm E6013 5kg pack mild steel",
|
|
"driver": "",
|
|
"driver_status": "unassigned",
|
|
"drv_assigned_at": "",
|
|
"drv_collected_at": "",
|
|
"drv_id": "",
|
|
"drv_status": "unassigned",
|
|
"id": "m74xvviv2hpzz2d",
|
|
"invoice_status": "",
|
|
"item_status": "invoiced",
|
|
"legacy_order_item_id": "",
|
|
"markup": 0,
|
|
"markup_percent": 0,
|
|
"matched_price_list_id": "",
|
|
"notes": "",
|
|
"order": "1ckvx24e3yinmtz",
|
|
"order_item_attachements": [],
|
|
"order_item_details": {
|
|
"invoice": {
|
|
"billingCompany": "CNL",
|
|
"date": "2026-07-08",
|
|
"invoiceCompany": "Adal Engineering",
|
|
"number": "INV28819",
|
|
"qbInvoiceId": "129875",
|
|
"qbInvoiceLink": "https://app.qbo.intuit.com/app/invoice?txnId=129875",
|
|
"setAt": "2026-07-08T21:51:56.145Z",
|
|
"setBy": "k045yfeze92ckx9",
|
|
"setByName": "David Els"
|
|
}
|
|
},
|
|
"order_qty": 8,
|
|
"po_description": "",
|
|
"pricing_notes": "",
|
|
"pricing_source": "",
|
|
"problem_flag": false,
|
|
"problem_notes": "",
|
|
"problem_type": "",
|
|
"purchase_order": "7syse5vezn6ftt7",
|
|
"qty_assigned": 0,
|
|
"qty_collected": 0,
|
|
"qty_delivered": 0,
|
|
"qty_processed": 0,
|
|
"quantity": 10,
|
|
"quote_item": "",
|
|
"ready_for_collection": true,
|
|
"selling_price": 0,
|
|
"sku": "",
|
|
"supplier": "udonuch26qtr4q5",
|
|
"updated": "2026-07-08 21:56:40.668Z"
|
|
} |