Integrations

Salesforce UAE E-invoice Integration

Generate a UAE invoice in Salesforce Lightning, submit it through your Azdan connection and credit a returned item against the original invoice.

For billing and accounts receivable teams · Updated 2 December 2026

Use Salesforce Revenue Cloud Billing (Agentforce Revenue Management) with billing enabled and an Azdan connection configured for your legal entity. Invoice generation requires the Billing Operations User or Billing Customer Service User permission set. To issue credits, use Billing Admin or Credit Memo Operations User.

The Lightning screens come from Salesforce Trailhead and the Winter ’27 Billing documentation. The UAE invoice and credit note are fictional worked examples. Select any image to open it at full size.

1. Generate the invoice in Salesforce Lightning

In the App Launcher, open Accounts and select the buyer’s billing account, or open the activated order under Orders. Confirm the order uses the issuing UAE legal entity and has a billing schedule marked Ready for Invoicing.

Salesforce Lightning billing account with Generate Invoices at upper left, the account summary in the center, and invoice aging at right.
On the billing account, select Generate Invoices beneath the account name. After generation, the Invoices tab is beside Details. Salesforce Trailhead.
  1. Select Generate Invoices from the account or order actions. Salesforce includes eligible schedules whose next billing date is before the target date. Set the invoice date to the date of issue, 1 December 2026 in the example.
  2. Choose Draft to review before posting, or Posted when approval is complete and your process permits it. Select Generate.
  3. When processing finishes, open Invoices on the account or All Invoices on the order. Verify the customer, invoice date, payment terms, due date, AED currency and purchase order reference where applicable.

Salesforce instructions for generating invoices

2. Check the invoice lines and UAE VAT

On the invoice, open Invoice Lines. In this domestic standard-rated example, Gulf Sample Trading LLC in Dubai sells two office chairs to Oasis Sample Trading LLC in Abu Dhabi. Check quantity 2 and unit price AED 500. The line net is AED 1,000.

Check the VAT treatment on the line. At the 5% standard rate in this example, VAT is AED 50 and the invoice total is AED 1,050.

Worked UAE invoice INV-AE-2026-0018 with two chairs, AED 50 VAT and AED 1,050 total.
Fictional UAE tax invoice showing the figures to reconcile in Salesforce and Azdan.
  • Match the registered names, addresses, VAT registration numbers and Peppol electronic addresses to the approved master data.
  • Use the VAT treatment for the actual supply and reconcile the posted totals before release.

3. Post and release the invoice

Complete billing approval and post the reviewed draft using your company’s posting process. For a posted invoice, confirm the final invoice number and totals. Record the number, legal entity and release time.

Use your configured handoff to Azdan. It may run automatically on posting or have a separate release action. Before enabling production, run the test submission below with the sender and buyer approved for your test environment.

4. Prepare and test the UAE e-invoice in Azdan

Salesforce to Azdan UAE field mapping

Configure your connection to read posted billing records and add the UAE values from your master data. The Azdan column names JSON fields inside payload unless marked as envelope fields. IBT and BTAE are Peppol business-term identifiers.

InformationSalesforce sourceAzdan JSON fieldUAE mapping
Invoice or credit number and dateInvoice.InvoiceNumber / InvoiceDate or CreditMemo.CreditMemoNumber / CreditDateinvoiceNumber, issueDateIBT-001/002. Use the final legal number.
Due date and currencyInvoice.DueDate, transaction CurrencyIsoCodedueDate, currencyIBT-009/005. Use AED here.
Document classificationConnector rule for a domestic taxable sale or approved creditinvoiceKind, transactionTypeCodetax, 00000000. Envelope documentType = invoice (380) or creditNote (381).
ParticipantsSeller legal entity and Invoice.BillingAccountId → approved UAE registration recordssupplier.peppolId, customer.peppolId and each party’s schemeIdIBT-034/049. For each party, put the registered 10-digit TIN in peppolId and 0235 in schemeId. In the envelope, senderPeppolId and receiverPeppolId each take 0235:<TIN>.
Names, registrations and addressesIssuing legal entity and buyer billing account. Use the account’s verified UAE VAT registration from its tax identification field or mapped master data.supplier.name, taxId, legalRegistrationId, address and corresponding customer fieldsTRN is the 15-digit VAT ID. Map licence type and authority where applicable. address.countryCode = AE; countrySubentity = DXB or AUH here.
Invoice lineInvoiceLine.Product2Id → product name, Quantity, UnitOfMeasureId → UAE unit code, UnitPricelines[].item.name, quantity, unitCode, price.priceAmountIBT-153/129/130/146. Two office chairs at AED 500 each; unit EA.
Tax treatmentInvoiceLineTax.TaxCode / TaxRate and posted net line valuelines[].tax.category, tax.rate, lineExtensionAmountIBT-151/152/131. Standard-rated S, 5%, AED 1,000 net.
Totals at issueReconciled net, tax by rate, gross and payabletaxTotal.taxAmount, taxTotal.taxSubtotals[] and legalMonetaryTotal.taxExclusiveAmount, taxInclusiveAmount, payableAmountIBT-109/110/112/115. AED 1,000 + 50 = 1,050 due.
Original invoice and credit reasonResolve the linked original invoice to its legal number and issue date. Map the approved return reason.billingReference.invoiceId, billingReference.issueDate, creditNoteReasonCodeIBT-025/026, BTAE-03. One chair returned and credited in full · DL8.61.1.D.
Document identity and traceabilityIntegration-generated document UUID and Salesforce record IDuniqueIdentifierNumber and envelope correlationIdBTAE-07 identifies the e-document. Save the returned Azdan transactionId on the Salesforce record.

Azdan OpenAPI 1.3.2 · Salesforce billing fields · UAE field definitions · Credit reasons. Azdan applies PINT AE 1.0.5 from 3 December 2026.

Use the approved Azdan test connection with environment set to test, inputType set to json, the registered test parties and the completed invoice payload. First call POST /api/v1/integrations/peppol/validate. Resolve each blocking field or rule, then validate again.

After a successful check, submit the same test envelope to POST /api/v1/integrations/peppol/invoices with an Idempotency-Key for this document. Save the returned transactionId. HTTP 202 confirms acceptance for processing. Check the outbound record for delivery, the receiver’s response and the tax-reporting result. Use your separately approved production participants for live invoices.

5. Find the invoice in Azdan

Open Invoicing > Transactions > Outbound. Enter the Salesforce invoice number in Search transactions and open the matching transaction.

Azdan Transactions with the Outbound tab, search and Filters. This example account has no transactions.
Azdan Transactions with the Outbound tab, search and Filters. This example account has no transactions.

Match the company, customer, currency, VAT and invoice total. If you cannot find the transaction, clear restrictive date or status filters, check the Salesforce posting and release time, and allow the usual processing interval. Give the administrator the invoice number and release time if it is still missing.

6. Review the results in Azdan

Open the transaction and read each result separately. Keep the transaction reference alongside the Salesforce invoice number when you follow up.

Enhanced Azdan reference illustration showing the separate validation, delivery, receiver and FTA reporting results.
Enhanced Azdan reference illustration showing the separate validation, delivery, receiver and FTA reporting results.
ResultWhat to check
ValidationCheck whether the document passed. For a failure, record the field, rule or amount identified in the message.
Delivery (AS4)Check transmission to the receiving provider. Buyer approval and payment are separate events.
MLS from the receiverRead the receiving side’s response, including the reason when one is available.
FTA Reporting (TDD)Read the reporting response and its detail. A reported status records submission. Confirm acceptance from the returned result.

Results can arrive at different times. Retain the document and response evidence under your company’s process. If any required result is pending, failed or rejected, continue to step 7.

7. Follow up failed invoices and corrections

In Transactions, open Filters. Select Failed or rejected and the relevant date range. Check In progress separately and open the transaction to read the latest message.

Enhanced Azdan reference illustration showing the Failed or rejected filter and date controls.
Enhanced Azdan reference illustration showing the Failed or rejected filter and date controls.
  • Missing or invalid data: Identify the source field, agree the correction with its owner and confirm it appears on the invoice that will be sent. A change to an account record may not update an invoice already generated.
  • Validation failure before delivery: Confirm that the original was not delivered, complete the approved correction and use your configured retry process.
  • Pending delivery or reporting: Check the latest event and the normal retry interval. Give the administrator the invoice number, Azdan reference, time and message before initiating another submission.
  • Receiver or reporting rejection: Check the reason and assign the next action to the billing or integration owner. Preserve the original invoice and its exchange evidence.

Create a UAE credit note for a returned item

On 2 December 2026 the buyer returns one of the two chairs. Open App Launcher → Invoices and select the posted, unpaid invoice INV-AE-2026-0018, dated 1 December. On Invoice Lines, select the chair line and choose Create and Apply Credit Memo.

Worked UAE tax credit note CN-AE-2026-0003 referencing the original invoice and crediting AED 525.
Fictional UAE tax credit note for one returned chair. It references the original number and issue date.
  1. Enter AED 500 as the credit amount for the selected line. The amount must be within the remaining line balance. With Enable tax calculation selected, verify AED 25 VAT at 5%. If your configured procedure uses manual tax, clear that option and enter AED 25 in Credit Tax Amount.
  2. Confirm a total credit of AED 525 and select Create and Apply. Check the posted memo’s legal number and credit date. In the example, applying the credit leaves AED 525 outstanding on the AED 1,050 invoice.
  3. In the fields your connection reads, record the original invoice number and issue date, and the approved reason that one item was returned. The mapped reason in this example is DL8.61.1.D. Release CN-AE-2026-0003 with its own UUID and idempotency key as documentType: creditNote. Track the credit under its own number in Azdan.

View the Lightning invoice-line credit settings · Salesforce instructions for creating and applying credit memos

8. Return to the original invoice in Salesforce

Open App Launcher → Invoices, or the Invoices related list on the customer account. Open your posted invoice using its legal number, then check its balance and the connected Azdan results.

Salesforce Lightning Billing workspace with an invoice record open on Invoice Line Summary, showing quantity, charges and tax.
In the Billing app, open the invoice and select Invoice Line Summary to check quantities, charges and tax. Salesforce’s Winter ’27 example uses USD and INR. The UAE example above uses AED. Salesforce Help.
  • Match the customer, currency, VAT and original invoice total to the Azdan record. Reconcile a credit memo using its own document number.
  • Open the field, related record or linked results view configured by your administrator. Compare the Azdan reference and the latest returned results.
  • If Salesforce shows older results than Azdan, send the reference and timestamps to the integration owner. Continue to record collections and payment allocations through your normal receivables process.

Complete the review when the records and totals agree, all required exchange and reporting results have been checked, and each open exception has an owner.

Related guides

Azdan UAE E-Invoice documentation