Ssmartbusiness.md
Portfolio
LiveB2B SaaS · Customs · 2025

SmartDeclar

Moldova’s customs declarations, moved from desktop to the cloud.

A cloud platform for Moldovan customs brokers and declarants: import/export declarations in ASYCUDA format, T1 transit declarations for NCTS, duty calculation and automatic validation.

smartdeclar.com
The T1 transit declaration form
ASYCUDA
XML integration
NCTS
transit declarations
RO / RU
bilingual interface

The problem

Brokers worked in legacy desktop programs with manual calculations, eyeball checks and files passed between computers. Every mistake in a declaration means delays at customs and costs for the client.

The solution

A web app that knows Moldova’s customs rules: it calculates VAT, excise and duties, validates weights and Incoterms conditions, and turns an ASYCUDA import/export declaration into a T1 transit declaration for NCTS. New customers can migrate their database from their old program.

Key features

  • Import/export declarations, ASYCUDA XML in and out
  • T1 transit for NCTS, JSON export
  • VAT, excise and duty calculator
  • Automatic validation (net/gross weight, Incoterms)
  • Tariff code search with explanatory notes
  • Reference data: countries, customs offices, UN/LOCODE
  • Migration from the old desktop program
  • Partner API

Screenshots

See it in action

T1 transit declaration
Import/export summary, exported to T1
Automatic checks before submitting
Goods list in the declaration

Under the hood

How it’s built

The stack and the engineering decisions behind it. The same standards go into every client project.

Frontend

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS
  • Radix UI
  • Zustand
  • TipTap

Backend & data

  • Server Actions
  • PostgreSQL
  • Drizzle ORM
  • Background worker
  • OAuth + magic links

Integrations

  • ASYCUDA XML
  • NCTS JSON
  • Stripe
  • Resend
  • Telegram
  • Cloudflare R2

Infrastructure

  • Docker
  • Hetzner (EU)
  • Umami

Engineering notes

  • 01

    ASYCUDA XML → T1 transit declaration → NCTS JSON conversion, with the official reference data kept in the app.

  • 02

    A separate worker analyses and imports the customer's database from their old desktop program.

  • 03

    Partner API with encrypted keys (AES-256-GCM).

  • 04

    PDF, Word and Excel documents generated straight from the app.

  • 05

    Public tariff-code and explanatory-note pages, indexed by Google.

  • 06

    Personal data handled under Moldova's data-protection law 195/2024; servers in the EU.

The codebase

pages
98
database tables
46
lines of TypeScript
~145k

Counted from the repository.

Want a product this solid?

Tell us what you want to build and we’ll tell you how, how much and how long.

Get a quote