> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Extensions and APIs for Invoicing Apps ## Article: Extensions and APIs for Invoicing Apps ## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/wix-business-solutions/common-use-cases/extensions-and-apis-for-invoicing-apps.md ## Article Content: # Extensions and APIs for Invoicing Apps Invoicing apps generate invoices, receipts, and manage billing for orders placed on Wix sites. This article lists the APIs and events you need to use to build an invoicing app. When developing your app, make sure to create a [dashboard extension](#extensions) to provide Wix users with an interface to view invoices, configure invoice templates, and manage billing settings. ## Permissions Your app needs the following permission scopes: - **Read Orders** (`SCOPE.DC-STORES.READ-ORDERS`): Required for retrieving order details. - **Read Bookings - Including Participants** (`SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE`): Required for retrieving booking details. - **Read Payments** (`SCOPE.DC-CASHIER.READ-PAYMENTS`): Required for retrieving payment details. ## APIs and events Use these APIs and events to build your invoicing integration. > **Note:** This reference is intended as a helpful starting point. Your app may require additional resources. Explore the full [API Reference](https://dev.wix.com/docs/api-reference.md) for more options. ### Orders Receive order notifications and retrieve order details for invoicing. - [Order Approved event](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/order-approved.md): Triggers when an order is approved. - [Order Paid event](https://dev.wix.com/docs/api-reference/business-solutions/events/registration/ticketing/orders/order-paid.md): Triggers when payment is confirmed. - [Order Updated event](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/order-updated.md): Triggers when order details change. - [Get Order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/orders/get-order.md): Retrieve order details. - [List Invoices For Multiple Orders](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-invoices/list-invoices-for-multiple-orders.md): Check if invoices exist for orders. ### Billing Handle payment authorization, capture, and refunds. - [Authorize Charge With Saved Payment Method](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/order-billing/authorize-charge-with-saved-payment-method.md): Authorizes a charge for an order. - [Capture Authorized Payments](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/order-billing/capture-authorized-payments.md): Captures previously authorized payments. - [Void Authorized Payments](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/order-billing/void-authorized-payments.md): Voids previously authorized payments. - [Get Order Refundability](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/order-billing/get-order-refundability.md) / [Calculate Refund](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/order-billing/calculate-refund.md): Check refund eligibility and calculate amounts. - [Refund Payments](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/order-billing/refund-payments.md): Refunds order payments. - [Purchased Item Invoice Status Updated event](https://dev.wix.com/docs/rest/app-management/app-billing/billing/purchased-item-invoice-status-updated.md): Triggers when invoice status changes. ### Receipts Generate and manage receipts for completed transactions. - [Create Receipt](https://dev.wix.com/docs/rest/business-management/get-paid/receipts/receipts/create-receipt.md): Creates a receipt. - [Get Receipt](https://dev.wix.com/docs/rest/business-management/get-paid/receipts/receipts/get-receipt.md) / [Query Receipts](https://dev.wix.com/docs/rest/business-management/get-paid/receipts/receipts/query-receipts.md): Retrieve receipts. ### Billable items Manage custom products or services for invoicing. - [Create Billable Item](https://dev.wix.com/docs/rest/business-management/get-paid/billable-items/create-billable-item.md) / [Update Billable Item](https://dev.wix.com/docs/rest/business-management/get-paid/billable-items/update-billable-item.md): Create or update billable items. - [Query Billable Items](https://dev.wix.com/docs/rest/business-management/get-paid/billable-items/query-billable-items.md): Retrieve billable items. ## Extensions Extensions add functionality to your app and integrate it with the Wix platform. ### Dashboard extension (required) [Dashboard extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/about-dashboard-extensions.md) add customizable features like a page or plugin to the Wix Dashboard. Use a dashboard extension to let Wix users view invoices, configure invoice templates, and manage billing settings. ## See also - [About Launching Apps](https://dev.wix.com/docs/build-apps/launch-your-app/about-launching-apps.md) - [eCommerce Orders API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/introduction.md) - [Order Billing API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-billing/introduction.md) - [Receipts API](https://dev.wix.com/docs/api-reference/business-management/get-paid/receipts/receipts/introduction.md) - [Billable Items API](https://dev.wix.com/docs/api-reference/business-management/get-paid/billable-items/introduction.md)