---
schema_version: "1"
id: 4ba670f863883265231afa60e1aa3ee71784f2afe8afaae55d38d494bd207285
title: Create Standalone Invoices or Import External Invoices
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/billing_invoice_creation.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.billing_invoice_creation.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5c1a43d6557e3f3fe4cfed0f2e35bbe916e89a19339c45c3b9720aa72b0affe6
description: Use the Invoice Ingestion API to create standalone invoices by providing the required details to import invoices from an external system. You can also use the API to generate invoices from debit memos.
products:
  - Revenue Cloud
release: "264"
---
# Create Standalone Invoices or Import External Invoices

Use the Invoice Ingestion API to create standalone invoices by providing the required details to import invoices from an external system. You can also use the API to generate invoices from debit memos.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with <a href="https://help.salesforce.com/s/articleView?id=ind.revenue_licenses_areas_and_features.htm&amp;release=264.0.0&amp;type=5">the Revenue Cloud Advanced license or the Revenue Cloud Billing license</a></td></tr></tbody></table>

To create or import invoices by using the [Invoice Ingestion API](https://developer.salesforce.com/docs/atlas.en-us.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/connect_resources_invoices_ingestion.htm), provide invoice details from any standard or custom Salesforce object record, or an external system. If the ingested invoice lines have the Tax Processing Status value as either Pending or Estimated, the [Invoice Estimated Tax Calculation API](https://developer.salesforce.com/docs/atlas.en-us.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/connect_resources_calculate_estimated_tax.htm) is used to calculate estimated taxes for these invoice lines.

The API creates Invoice, Invoice Line, Invoice Line Tax, and Invoice Address Group records based on the specified details.

If you specify an order ID as the `referenceEntityId` property value in the Invoice Ingestion API, the generated invoices appear on the All Invoices related list of the Order record.

To generate invoices from debit memos, specify the debit memo ID as the `referenceEntityId` property value in the request body of this API. Make sure that the debit memo is in `Posted` status and is ready for invoice generation. The invoice is generated in `Draft` status.