Skip to content

CustomsTUF

Belgian customs declaration processing tool — extracts invoice & packing list data via AI, lets users review and correct it, then generates IDMS/AES XML declarations (CC415 import, CC515 export).

Stack

  • ASP.NET Core 10 Razor Pages — EF Core, SQLite
  • AI extraction — LiteLLM proxy (OpenAI-compatible) or Azure OpenAI
  • Auth — Microsoft Entra ID or Authentik (OIDC)

Quick start (Docker)

cp .env.example .env
# fill in .env
docker compose up -d

See docs/configuration.md for all environment variables.

IIS deployment

Deployed via tag-triggered GitHub Actions + Azure DevOps self-hosted agent. Push a v* tag → build artifact → ADO pipeline → versioned folder on IIS server.

See docs/deployment.md for full setup instructions.

Docs

docs/configuration.md appsettings, secrets, auth providers
docs/deployment.md CI/CD pipeline setup (GitHub Actions + ADO + IIS)
docs/customs.md IM/EX regime, declaration types, XML message formats