パッケージ、リポジトリ、アプリカテゴリを検索

invoiceninja のカバー
パッケージ詳細v0.0.11

invoiceninja

Flutterアプリで簡単にPDFインボイスを作成し、支払いを受け入れる

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
60
いいね数
76
Pub ポイント
130

パッケージをインストール

flutter pub add invoiceninja

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

invoiceninja パッケージは、Flutter開発者がアプリ内でPDF請求書の作成と支払い処理を直接行えるようにします。Invoice Ninja API との統合により、複数のプラットフォームで請求書の作成、カスタマイズ、支払いの回収を簡単にできます。開発者はブランドを備えたプロフェッショナルな請求書をプログラムで作成し、クライアントに送信し、統合されたゲートウェイを通じて支払いを受け取ることができます。このパッケージはAndroid、iOS、Web、macOS、Windows、Linuxをサポートしており、クロスプラットフォームビジネスアプリに最適です。フリーランス、中小企業、サービスプロバイダーの財務ワークフローを効率化します。

用途

  • クライアントの請求書を生成する
  • オンライン決済の処理
  • 請求業務プロセスの自動化
  • マルチプラットフォームアプリのサポート
  • ブランドPDFを送信する
  • 支払い状況を追跡する

主な機能

  • PDFインボイスの生成
  • 支払いの統合
  • クロスプラットフォーム対応
  • API駆動型デザイン
  • カスタマイズ可能なテンプレート
  • リアルタイム決済トラッキング

適している対象

  • Freelancers
  • 中小企業向けアプリ
  • サービスベースのプラットフォーム
  • 請求システム
  • EC統合

注意事項

  • Invoice Ninja アカウントが必要です
  • 外部APIに依存しています
  • インターネット接続が必要です
  • 制限されたオフライン機能
  • レート制限が適用される場合があります
  • 認証のセットアップが必要です

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Invoice Ninja

Create PDF invoices and accept payments in a Flutter app

Sample

YouTube Video

YouTube Video

Features

  • Accept online payment in mobile, web and desktop Flutter apps
  • Supports many payment gateways including Stripe, PayPal and more
  • Create professional PDF invoices
  • Includes a self-service client portal
  • Many more features...

Overview

The package provides two main classes:

  • InvoiceNinja: Supports the public 'Storefront' routes which allow reading the list of products and creating/finding clients and invoices. Using this class works with restricted access to the account.
  • InvoiceNinjaAdmin: Supports the REST Admin API which uses token based security. Using this class requires an API token to access the account.

Storefront API

Configure
InvoiceNinja.configure(
  'KEY', // Set your company key or use 'KEY' to test
  url: 'https://demo.invoiceninja.com', // Set your selfhost app URL
  debugEnabled: true,
);
Load the product list
final products = await InvoiceNinja.products.load();
Find the product by key
final product = await InvoiceNinja.products.findByKey('product_key');
Create/persist the client
var client = Client.forContact(email: 'test@example.com');
client = await InvoiceNinja.clients.save(client);
Create/persist the invoice
var invoice = Invoice.forClient(client, products: [product]);
invoice = await InvoiceNinja.invoices.save(invoice);
Display the PDF invoice
launch(
  'https://docs.google.com/gview?embedded=true&url=${invoice.pdfUrl}',
  forceWebView: true,
);
Accept the payment
var invoiceKey = invoice.key;
launch(invoice.url);

// ...

final invoice = await InvoiceNinja.invoices.findByKey(invoiceKey);
if (invoice.isPaid) {
  // ...
}

You can use the WidgetsBindingObserver interface to run code when the app is resumed.

Consider giving issue #57536 a thumbs up to make this better in the future.

Admin API

Configure
InvoiceNinjaAdmin.configure(
  'TOKEN', // Set your API token or use 'TOKEN' to test
  url: 'https://demo.invoiceninja.com', // Set your selfhost app URL
  debugEnabled: true,
);
Find a client by email
final client = await InvoiceNinjaAdmin.clients.findByEmail(email);
Load all invoices
final payments = await InvoiceNinjaAdmin.payments.load();
Load the payments list
final payments = await InvoiceNinjaAdmin.payments.load();
Find a payment by id
final payment = await InvoiceNinjaAdmin.payments.findById(id);
Create/persist an invoice and auto-bill it
var invoice = Invoice.forClient(client, products: [product]);
invoice = await InvoiceNinjaAdmin.invoices.save(invoice, action: InvoiceAction.autoBill);

カテゴリー

依存関係

依存関係一覧 4 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。