Technology Stack¶
VATcomply API is built on Python with the following key technologies:
| Technology | Description |
|---|---|
| Django | Core web framework with async views |
| Django Bolt | High-performance API framework with built-in Rust-powered server |
| msgspec | High-performance serialization and validation |
| Httpx | Async HTTP client for external API calls |
| Zeep | SOAP client for VIES VAT validation |
| Schwifty | IBAN/BIC validation |
| lxml | XML parsing for ECB exchange rate data |
| Pendulum | Date/time handling |
| Sentry | Error monitoring and tracking |
This stack enables the API to handle thousands of requests per second asynchronously.
Django Bolt¶
Django Bolt is a high-performance API framework that combines Django's familiar patterns with Rust-powered speed. It uses decorator-based routing with automatic request validation through Python type hints and msgspec for serialization.
Key advantages for VATcomply:
- Async-first - Native async/await support for non-blocking I/O, used throughout for external API calls (VIES, ECB)
- Full Django integration - Works seamlessly with Django ORM, authentication, middleware, and admin
- Automatic API docs - Generates interactive documentation at
/docswith Swagger/OpenAPI - Type-safe validation - Request parameters are validated automatically via type hints, reducing boilerplate