Skip to main content
Glama

Finizi B4B MCP Server

by hqtrung
mock_responses.json7.83 kB
{ "auth": { "login_success": { "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.test_token", "refresh_token": "refresh_token_test", "email": "test@finizi.ai", "id": "user-123e4567-e89b-12d3-a456-426614174000", "is_super_admin": false }, "login_failure": { "detail": "Invalid credentials" }, "whoami_success": { "id": "user-123e4567-e89b-12d3-a456-426614174000", "email": "test@finizi.ai", "phone": "+84909495665", "is_super_admin": false, "created_at": "2024-01-01T00:00:00Z" } }, "entities": { "list_success": { "items": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "Test Company Ltd.", "entity_type": "company", "tax_id": "0123456789", "status": "active", "address": "123 Test Street, Ho Chi Minh City", "phone": "+84987654321", "email": "contact@testcompany.vn" }, { "id": "223e4567-e89b-12d3-a456-426614174001", "name": "Another Business Co.", "entity_type": "company", "tax_id": "9876543210", "status": "active", "address": "456 Business Ave, Hanoi", "phone": "+84912345678" } ], "total": 2, "page": 1, "per_page": 20, "pages": 1 }, "get_success": { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "Test Company Ltd.", "entity_type": "company", "tax_id": "0123456789", "status": "active", "address": "123 Test Street, Ho Chi Minh City", "phone": "+84987654321", "email": "contact@testcompany.vn", "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-15T10:30:00Z" }, "create_success": { "id": "new-entity-123e4567-e89b-12d3-a456-426614174000", "name": "New Entity Corp", "entity_type": "company", "tax_id": "1234567890", "address": "789 New Street", "phone": "+84901234567", "email": "new@entity.vn", "status": "active", "created_at": "2024-01-20T00:00:00Z" }, "update_success": { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "Updated Company Name", "entity_type": "company", "tax_id": "0123456789", "address": "Updated Address", "phone": "+84987654321", "email": "updated@testcompany.vn", "status": "active", "updated_at": "2024-01-20T10:00:00Z" }, "validation_error": { "detail": "Tax ID must be 10 or 13 digits" } }, "invoices": { "list_success": { "items": [ { "id": "inv-123e4567-e89b-12d3-a456-426614174000", "invoice_number": "INV-2024-001", "entity_id": "123e4567-e89b-12d3-a456-426614174000", "vendor_id": "vendor-123", "vendor_name": "Supplier Co.", "total_amount": 1000000, "vat_amount": 100000, "status": 1, "issue_date": "2024-01-01", "due_date": "2024-01-31" }, { "id": "inv-223e4567-e89b-12d3-a456-426614174001", "invoice_number": "INV-2024-002", "entity_id": "123e4567-e89b-12d3-a456-426614174000", "vendor_id": "vendor-456", "vendor_name": "Another Vendor", "total_amount": 2000000, "vat_amount": 200000, "status": 1, "issue_date": "2024-01-15", "due_date": "2024-02-15" } ], "total": 2, "page": 1, "per_page": 20, "pages": 1 }, "get_success": { "id": "inv-123e4567-e89b-12d3-a456-426614174000", "invoice_number": "INV-2024-001", "entity_id": "123e4567-e89b-12d3-a456-426614174000", "vendor_id": "vendor-123", "vendor_name": "Supplier Co.", "vendor_tax_id": "1111111111", "total_amount": 1000000, "vat_amount": 100000, "discount_amount": 0, "status": 1, "issue_date": "2024-01-01", "due_date": "2024-01-31", "line_items": [ { "id": "line-1", "product_name": "Product A", "quantity": 10, "unit_price": 100000, "amount": 1000000 } ], "created_at": "2024-01-01T00:00:00Z" }, "import_xml_success": { "id": "inv-new-123e4567-e89b-12d3-a456-426614174000", "invoice_number": "INV-XML-2024-001", "entity_id": "123e4567-e89b-12d3-a456-426614174000", "total_amount": 5000000, "vat_amount": 500000, "status": 0, "parsing_status": "success", "created_at": "2024-01-20T00:00:00Z" }, "statistics_success": { "total_invoices": 150, "total_amount": 500000000, "total_vat": 50000000, "by_status": { "draft": 10, "active": 120, "cancelled": 15, "archived": 5 }, "by_month": [ {"month": "2024-01", "count": 30, "amount": 100000000}, {"month": "2024-02", "count": 40, "amount": 150000000} ] } }, "vendors": { "list_success": { "data": [ { "id": "vendor-123e4567-e89b-12d3-a456-426614174000", "name": "Supplier Co. Ltd", "tax_id": "1111111111", "address": "Vendor Street 1", "phone": "+84901111111", "status": "active", "total_transactions": 50 }, { "id": "vendor-223e4567-e89b-12d3-a456-426614174001", "name": "Another Vendor Inc", "tax_id": "2222222222", "address": "Vendor Street 2", "phone": "+84902222222", "status": "active", "total_transactions": 30 } ], "total": 2, "page": 1, "per_page": 20 }, "get_success": { "id": "vendor-123e4567-e89b-12d3-a456-426614174000", "name": "Supplier Co. Ltd", "tax_id": "1111111111", "address": "Vendor Street 1", "phone": "+84901111111", "email": "contact@supplier.vn", "status": "active", "total_transactions": 50, "total_amount": 200000000, "last_transaction_date": "2024-01-15", "created_at": "2023-01-01T00:00:00Z" } }, "products": { "list_success": { "data": [ { "id": "prod-123e4567-e89b-12d3-a456-426614174000", "name": "Product A", "sku": "SKU-001", "category": "electronics", "unit_price": 50000, "vat_rate": 10, "status": "active" }, { "id": "prod-223e4567-e89b-12d3-a456-426614174001", "name": "Product B", "sku": "SKU-002", "category": "furniture", "unit_price": 150000, "vat_rate": 10, "status": "active" } ], "total": 2, "page": 1, "per_page": 20 }, "search_similar_success": { "results": [ { "id": "prod-123e4567-e89b-12d3-a456-426614174000", "name": "Product A", "similarity_score": 0.95, "sku": "SKU-001", "unit_price": 50000 }, { "id": "prod-456e4567-e89b-12d3-a456-426614174002", "name": "Product AA", "similarity_score": 0.85, "sku": "SKU-003", "unit_price": 52000 } ], "query": "Product A", "total_results": 2 } }, "errors": { "unauthorized_401": { "detail": "Not authenticated" }, "forbidden_403": { "detail": "You do not have permission to access this resource" }, "not_found_404": { "detail": "Resource not found" }, "validation_error_400": { "detail": "Validation failed", "errors": [ {"field": "tax_id", "message": "Invalid format"} ] } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hqtrung/finizi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server