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.
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.

- 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.
- Choose Draft to review before posting, or Posted when approval is complete and your process permits it. Select Generate.
- 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.
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.

- 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.
| Information | Salesforce source | Azdan JSON field | UAE mapping |
|---|---|---|---|
| Invoice or credit number and date | Invoice. | invoiceNumber, issueDate | IBT-001/002. Use the final legal number. |
| Due date and currency | Invoice. | dueDate, currency | IBT-009/005. Use AED here. |
| Document classification | Connector rule for a domestic taxable sale or approved credit | invoiceKind, transactionTypeCode | tax, 00000000. Envelope documentType = invoice (380) or creditNote (381). |
| Participants | Seller legal entity and Invoice. | supplier. | IBT-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 addresses | Issuing legal entity and buyer billing account. Use the account’s verified UAE VAT registration from its tax identification field or mapped master data. | supplier. | TRN is the 15-digit VAT ID. Map licence type and authority where applicable. address. |
| Invoice line | InvoiceLine. | lines[].item. | IBT-153/129/130/146. Two office chairs at AED 500 each; unit EA. |
| Tax treatment | InvoiceLineTax. | lines[].tax. | IBT-151/152/131. Standard-rated S, 5%, AED 1,000 net. |
| Totals at issue | Reconciled net, tax by rate, gross and payable | taxTotal. and legalMonetaryTotal. | IBT-109/110/112/115. AED 1,000 + 50 = 1,050 due. |
| Original invoice and credit reason | Resolve the linked original invoice to its legal number and issue date. Map the approved return reason. | billingReference. | IBT-025/026, BTAE-03. One chair returned and credited in full · DL8.61.1. |
| Document identity and traceability | Integration-generated document UUID and Salesforce record ID | uniqueIdentifierNumber and envelope correlationId | BTAE-07 identifies the e-document. Save the returned Azdan transactionId on the Salesforce record. |
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.

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.

| Result | What to check |
|---|---|
| Validation | Check 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 receiver | Read 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.

- 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.

- 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.
- 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.
- 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 asdocumentType: creditNote. Track the credit under its own number in Azdan.
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.

- 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