invoiceninja 패키지는 플러터 개발자가 앱 내에서 직접 PDF 청구서를 생성하고 결제를 처리할 수 있도록 합니다. Invoice Ninja API와 통합되어 여러 플랫폼에서 청구서 작성, 맞춤화 및 결제 수납을 간소화합니다. 개발자는 브랜딩이 적용된 전문적인 청구서를 프로그래밍으로 생성하여 고객에게 발송하고, 통합 게이트웨이를 통해 결제를 수락할 수 있습니다. 이 패키지는 Android, iOS, Web, macOS, Windows, Linux를 지원하여 크로스플랫폼 비즈니스 애플리케이션에 적합합니다. 프리랜서, 소규모 기업 및 서비스 제공자들의 재무 워크플로우를 간소화합니다.
사용 사례
고객 송장 생성
온라인 결제 처리
청구 워크플로우 자동화
다중 플랫폼 앱 지원
브랜드 PDF 보내기
결제 상태 추적
주요 기능
PDF 송장 생성
결제 통합
크로스 플랫폼 지원
API 기반 설계
사용자 정의 템플릿
실시간 결제 추적
적합한 대상
Freelancers
소규모 기업 앱
서비스 기반 플랫폼
청구 시스템
전자상거래 통합
고려 사항
Invoice Ninja 계정이 필요합니다
외부 API에 의존합니다
인터넷 연결이 필요합니다
제한된 오프라인 기능
레이트 제한이 적용될 수 있습니다
인증 설정이 필요합니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Invoice Ninja
Create PDF invoices and accept payments in a Flutter app
YouTube Video
Features
Accept online payment in mobile, web and desktop Flutter apps
Supports many payment gateways including Stripe, PayPal and more
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 = awaitInvoiceNinja.products.load();
Find the product by key
final product = awaitInvoiceNinja.products.findByKey('product_key');
Create/persist the client
var client = Client.forContact(email: 'test@example.com');
client = awaitInvoiceNinja.clients.save(client);
Create/persist the invoice
var invoice = Invoice.forClient(client, products: [product]);
invoice = awaitInvoiceNinja.invoices.save(invoice);
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 = awaitInvoiceNinjaAdmin.clients.findByEmail(email);
Load all invoices
final payments = awaitInvoiceNinjaAdmin.payments.load();
Load the payments list
final payments = awaitInvoiceNinjaAdmin.payments.load();
Find a payment by id
final payment = awaitInvoiceNinjaAdmin.payments.findById(id);