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.
To create or import invoices by using the Invoice Ingestion API, 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 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.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.