{% extends 'base.html' %} {% block title %}{{ title }}{% endblock %} {% block content %}

๐Ÿ“ค Upload Document

Upload receipts, invoices, or bills for AI-powered data extraction

{% if document_usage %}
{% if document_usage.remaining <= 0 %} {% elif document_usage.percentage >= 80 %} {% else %} {% endif %}
{% endif %}
AI Document Upload
{% csrf_token %}
{{ form.document_type }} {% if form.document_type.help_text %}
{{ form.document_type.help_text }}
{% endif %} {% if form.document_type.errors %}
{{ form.document_type.errors }}
{% endif %}
{{ form.file }}
Supported formats:
  • Images: JPG, PNG, GIF, WEBP (uses Claude Vision API)
  • PDFs: Text extraction + Claude AI analysis
Max file size: 10MB
{% if form.file.errors %}
{{ form.file.errors }}
{% endif %}
Back to Documents
{% endblock %}