# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: InvoiceShelf
spec:
    description: |
        InvoiceShelf is a self-hosted invoicing solution for freelancers and small businesses. Create professional invoices, estimates, and track payments with a modern UI. Uses SQLite by default -- no external database needed.
    coverImage: https://avatars.githubusercontent.com/u/117729924?s=200
    icon: https://avatars.githubusercontent.com/u/117729924?s=200
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access InvoiceShelf
        - key: APP_KEY
          type: PASSWORD
          name: App Key
          description: Laravel application encryption key (auto-generated)
    tags:
        - Tool
        - Finance
    readme: |
        # InvoiceShelf

        A self-hosted invoicing application for freelancers and small businesses. Create and send professional invoices, manage estimates, track expenses, and monitor payments -- all from a clean web interface.

        ## What You Can Do After Deployment

        1. **Visit your domain** -- complete the setup wizard to create your company profile and admin account
        2. **Create invoices** -- design professional invoices with your logo, tax rates, and custom fields
        3. **Send estimates** -- generate quotes for clients that can be converted to invoices
        4. **Track payments** -- record partial or full payments against invoices
        5. **Manage expenses** -- log business expenses with categories and receipts
        6. **Generate reports** -- view profit/loss, tax summaries, and other financial reports

        ## Key Features

        - Professional invoice and estimate generation with PDF export
        - Multi-currency support
        - Recurring invoices on customizable schedules
        - Tax management with multiple tax types
        - Expense tracking with categories
        - Customer and item management
        - Dashboard with revenue and expense charts
        - Uses SQLite by default -- no external database required
        - Built on Laravel with a modern Vue.js frontend

        ## Volumes

        - `/var/www/html/storage` -- application data, uploaded files, and SQLite database

        ## License

        AAL -- [GitHub](https://github.com/InvoiceShelf/InvoiceShelf) | [Website](https://invoiceshelf.com)
    services:
        - name: invoiceshelf
          icon: https://avatars.githubusercontent.com/u/117729924?s=200
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/shinsenter/invoiceshelf:php8.4
            ports:
                - id: web
                  port: 80
                  type: HTTP
            volumes:
                - id: storage
                  dir: /var/www/html/storage
            env:
                APP_DEBUG:
                    default: "false"
                    expose: false
                APP_ENV:
                    default: production
                    expose: false
                APP_KEY:
                    default: base64:${PASSWORD}
                APP_URL:
                    default: https://${ZEABUR_WEB_DOMAIN}
                    expose: false
                DB_CONNECTION:
                    default: sqlite
                    expose: false
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            InvoiceShelf es una solucion de facturacion autoalojada para freelancers y pequenas empresas. Crea facturas, presupuestos y rastrea pagos. Usa SQLite por defecto.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a InvoiceShelf
            - key: APP_KEY
              type: STRING
              name: Clave de aplicacion
              description: Clave de cifrado de Laravel (auto-generada)
        readme: |
            # InvoiceShelf

            Aplicacion de facturacion autoalojada para freelancers y pequenas empresas.

            ## Despues del despliegue

            1. **Visita tu dominio** -- completa el asistente de configuracion
            2. **Crea facturas** -- con logo, impuestos y campos personalizados
            3. **Envia presupuestos** -- convertibles a facturas
            4. **Rastrea pagos** -- parciales o completos
            5. **Gestiona gastos** -- con categorias y recibos
            6. **Genera informes** -- ganancias/perdidas, resumen fiscal

            ## Caracteristicas

            - Facturas y presupuestos con exportacion PDF
            - Multi-moneda
            - Facturas recurrentes
            - Gestion fiscal
            - SQLite por defecto

            ## Licencia

            AAL -- [GitHub](https://github.com/InvoiceShelf/InvoiceShelf)
    id-ID:
        description: |
            InvoiceShelf adalah solusi faktur self-hosted untuk freelancer dan bisnis kecil. Buat faktur profesional, estimasi, dan lacak pembayaran. Menggunakan SQLite bawaan.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses InvoiceShelf
            - key: APP_KEY
              type: STRING
              name: Kunci Aplikasi
              description: Kunci enkripsi Laravel (otomatis)
        readme: |
            # InvoiceShelf

            Aplikasi faktur self-hosted untuk freelancer dan bisnis kecil.

            ## Setelah deploy

            1. **Buka domain** -- selesaikan wizard setup
            2. **Buat faktur** -- dengan logo, pajak, dan field kustom
            3. **Kirim estimasi** -- dapat diubah menjadi faktur
            4. **Lacak pembayaran** -- parsial atau penuh
            5. **Kelola pengeluaran** -- dengan kategori dan kwitansi
            6. **Buat laporan** -- laba/rugi, ringkasan pajak

            ## Fitur

            - Faktur dan estimasi dengan ekspor PDF
            - Multi-mata uang
            - Faktur berulang
            - Manajemen pajak
            - SQLite bawaan

            ## Lisensi

            AAL -- [GitHub](https://github.com/InvoiceShelf/InvoiceShelf)
    ja-JP:
        description: |
            InvoiceShelfはフリーランスや中小企業向けのセルフホスト請求書管理ソリューションです。請求書、見積書の作成、支払い追跡が可能。デフォルトでSQLite使用。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: InvoiceShelfにアクセスするためのドメイン
            - key: APP_KEY
              type: STRING
              name: アプリキー
              description: Laravel暗号化キー（自動生成）
        readme: |
            # InvoiceShelf

            フリーランスや中小企業向けのセルフホスト請求書アプリ。請求書の作成・送信、見積管理、経費・支払い追跡。

            ## デプロイ後にできること

            1. **ドメインにアクセス** -- セットアップウィザードで会社情報と管理者アカウントを作成
            2. **請求書を作成** -- ロゴ、税率、カスタムフィールド付きの請求書
            3. **見積書を送信** -- 請求書に変換可能な見積もり
            4. **支払い追跡** -- 一部または全額の支払い記録
            5. **経費管理** -- カテゴリとレシートで記録
            6. **レポート生成** -- 損益、税務サマリー

            ## 主な機能

            - 請求書・見積書のPDFエクスポート
            - 多通貨対応
            - 定期請求書
            - 税務管理
            - 経費追跡
            - デフォルトSQLite

            ## ライセンス

            AAL -- [GitHub](https://github.com/InvoiceShelf/InvoiceShelf)
    ko-KR:
        description: |
            InvoiceShelf는 프리랜서와 소기업을 위한 셀프호스팅 청구서 솔루션입니다. 전문 청구서, 견적서 생성 및 결제 추적. 기본 SQLite 사용.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: InvoiceShelf에 접속할 도메인
            - key: APP_KEY
              type: STRING
              name: 앱 키
              description: Laravel 암호화 키 (자동 생성)
        readme: |
            # InvoiceShelf

            프리랜서와 소기업을 위한 셀프호스팅 청구서 앱.

            ## 배포 후 할 수 있는 것

            1. **도메인 접속** -- 설정 마법사 완료
            2. **청구서 생성** -- 로고, 세율, 사용자 정의 필드 포함
            3. **견적서 발송** -- 청구서로 변환 가능
            4. **결제 추적** -- 부분 또는 전액 결제 기록
            5. **비용 관리** -- 카테고리와 영수증
            6. **보고서 생성** -- 손익, 세금 요약

            ## 주요 기능

            - 청구서 및 견적서 PDF 내보내기
            - 다중 통화 지원
            - 반복 청구서
            - 세금 관리
            - 기본 SQLite

            ## 라이선스

            AAL -- [GitHub](https://github.com/InvoiceShelf/InvoiceShelf)
    th-TH:
        description: |
            InvoiceShelf คือโซลูชันใบแจ้งหนี้แบบ self-hosted สำหรับฟรีแลนซ์และธุรกิจขนาดเล็ก สร้างใบแจ้งหนี้ ใบเสนอราคา และติดตามการชำระเงิน ใช้ SQLite ในตัว
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึง InvoiceShelf
            - key: APP_KEY
              type: STRING
              name: คีย์แอปพลิเคชัน
              description: คีย์เข้ารหัส Laravel (สร้างอัตโนมัติ)
        readme: |
            # InvoiceShelf

            แอปใบแจ้งหนี้แบบ self-hosted สำหรับฟรีแลนซ์และธุรกิจขนาดเล็ก

            ## หลังจากติดตั้ง

            1. **เข้าสู่โดเมน** -- ทำวิซาร์ดตั้งค่าให้เสร็จ
            2. **สร้างใบแจ้งหนี้** -- พร้อมโลโก้ ภาษี และฟิลด์กำหนดเอง
            3. **ส่งใบเสนอราคา** -- แปลงเป็นใบแจ้งหนี้ได้
            4. **ติดตามการชำระเงิน** -- บางส่วนหรือทั้งหมด
            5. **จัดการค่าใช้จ่าย** -- พร้อมหมวดหมู่และใบเสร็จ
            6. **สร้างรายงาน** -- กำไร/ขาดทุน สรุปภาษี

            ## ฟีเจอร์

            - ใบแจ้งหนี้และใบเสนอราคาพร้อมส่งออก PDF
            - รองรับหลายสกุลเงิน
            - ใบแจ้งหนี้ซ้ำ
            - จัดการภาษี
            - SQLite ในตัว

            ## สัญญาอนุญาต

            AAL -- [GitHub](https://github.com/InvoiceShelf/InvoiceShelf)
    zh-CN:
        description: |
            InvoiceShelf 是自托管的发票管理方案，适合自由职业者和小企业。创建专业发票、报价单，跟踪付款。默认使用 SQLite。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 InvoiceShelf 的域名
            - key: APP_KEY
              type: STRING
              name: 应用密钥
              description: Laravel 应用加密密钥（自动生成）
        readme: |
            # InvoiceShelf

            自托管发票应用，适合自由职业者和小企业。创建发票、管理报价、跟踪费用和付款。

            ## 部署后可以做什么

            1. **打开域名** -- 完成设置向导，创建公司档案和管理员账号
            2. **创建发票** -- 含 Logo、税率和自定义字段的专业发票
            3. **发送报价** -- 为客户生成报价单，可转为发票
            4. **跟踪付款** -- 记录部分或全额付款
            5. **管理费用** -- 分类记录营业支出
            6. **生成报表** -- 查看损益、税务摘要等

            ## 主要功能

            - 专业发票和报价单，PDF 导出
            - 多币种支持
            - 周期性发票
            - 税务管理
            - 费用跟踪
            - 默认 SQLite，无需外部数据库

            ## 授权

            AAL -- [GitHub](https://github.com/InvoiceShelf/InvoiceShelf)
    zh-TW:
        description: |
            InvoiceShelf 是自架的發票管理解決方案，適合自由工作者和小型企業。建立專業發票、估價單，追蹤付款。預設使用 SQLite，無需外部資料庫。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 InvoiceShelf 的網域
            - key: APP_KEY
              type: STRING
              name: 應用程式金鑰
              description: Laravel 應用程式加密金鑰（自動產生）
        readme: |
            # InvoiceShelf

            自架的發票管理應用程式，適合自由工作者和小型企業。建立並寄送專業發票、管理估價單、追蹤費用和付款。

            ## 部署後可以做什麼

            1. **開啟網域** -- 完成設定精靈，建立公司檔案和管理員帳號
            2. **建立發票** -- 設計含 Logo、稅率和自訂欄位的專業發票
            3. **寄送估價單** -- 為客戶產生報價，可轉換為發票
            4. **追蹤付款** -- 記錄發票的部分或全額付款
            5. **管理費用** -- 以分類和收據記錄營業費用
            6. **產生報表** -- 檢視損益、稅務摘要等財務報表

            ## 主要功能

            - 專業發票和估價單產生，含 PDF 匯出
            - 多幣別支援
            - 自訂排程的週期性發票
            - 稅務管理
            - 費用追蹤
            - 客戶和品項管理
            - 儀表板含營收和費用圖表
            - 預設使用 SQLite，無需外部資料庫

            ## 授權

            AAL -- [GitHub](https://github.com/InvoiceShelf/InvoiceShelf)
