================================================================================
REQUEST LOG: req_fZTxvous3rG6
================================================================================

[2026-06-10 12:51:18.164156] REQUEST END
    Status: 201
    Response Time: 32.66ms
    Response: {
    "success": true,
    "message": "Invoice created successfully",
    "data": {
        "branch_id": 8,
        "invoice_date": "2026-06-10T00:00:00.000000Z",
        "payment_type": "credit",
        "supplier_id": 4,
        "user_id": 16,
        "invoice_number": "SINV-20260610-0001",
        "due_date": "2026-07-10T00:00:00.000000Z",
        "subtotal": "6754.00",
        "total_amount": "6754.00",
        "remaining_amount": "6754.00",
        "paid_amount": "0.00",
        "status": "unpaid",
        "updated_at": "2026-06-10T12:51:18.000000Z",
        "created_at": "2026-06-10T12:51:18.000000Z",
        "id": 5,
        "items": [
            {
                "id": 5,
                "supplier_invoice_id": "5",
                "item_type": "other",
                "ingredient_id": null,
                "product_id": null,
                "description": "Purchase",
                "quantity": "1.000",
                "bonus_quantity": "0.000",
                "unit": null,
                "unit_price": "6754.0000",
                "total_price": "6754.00",
                "batch_number": null,
                "expiry_date": null,
                "notes": null,
                "created_at": "2026-06-10T12:51:18.000000Z",
                "updated_at": "2026-06-10T12:51:18.000000Z",
                "ingredient": null,
                "product": null
            }
        ],
        "supplier": {
            "id": 4,
            "tenant_id": "5",
            "name": "ali",
            "company_name": "test",
            "contact_person": "shehzada ammad ali",
            "phone": "03164095959",
            "email": "shehzadaammadaliwork@gmail.com",
            "address": null,
            "supplier_type": "distributor",
            "credit_limit": "0.00",
            "current_credit_balance": "6754.00",
            "payment_terms_days": 30,
            "opening_balance": "0.00",
            "tax_number": null,
            "license_number": null,
            "notes": null,
            "is_active": true,
            "created_at": "2026-06-10T12:51:05.000000Z",
            "updated_at": "2026-06-10T12:51:18.000000Z",
            "deleted_at": null
        }
    },
    "meta": {
        "request_id": "req_fZTxvous3rG6",
        "timestamp": "2026-06-10T12:51:18+00:00"
    }
}

================================================================================