Skip to content

Order Confirmation and Invoice

You answer an order from SAP Business Network from within Business Central: with an order confirmation (or a rejection) from the sales order, and with the invoice or credit memo from the posted document. The documents go to SAP Business Network through the merchantCENTRAL Ariba gateway. Every document sent is listed with the answer of SAP Business Network in the Ariba Sent Documents. For every posted shipment, a ship notice with the tracking can go out as well.

Whether a document goes out automatically is set per Ariba buyer – on the Marketplace Card in the Ariba Buyer part of the sales channel: Auto Send Confirmation and Auto Send Invoice.


Order Confirmation

Sending

  • By hand in the sales order: action group Ariba → Send Order Confirmation. The group appears only on sales orders that come from an Ariba order.
  • By hand on the Ariba Order card: Send Order Confirmation.
  • Automatically on the first release of the sales order, if Auto Send Confirmation is switched on for the buyer. The confirmation is only queued; the job queue entry sends it within 15 minutes. This happens once per order: if there is a confirmation already, releasing queues no further one. If the confirmation cannot be built, it appears as Failed in the Ariba Sent Documents – the release goes on anyway.

Sent by hand, Business Central tells you right away how it ended: accepted, not sent yet (sent again automatically) or not accepted, with the reason.

What Is Confirmed

The confirmation reports every line of the order as the related sales line stands now: quantity, unit of measure, Planned Delivery Date (and Shipment Date) and net price (Unit Price less Line Discount %). Business Central plans the Planned Delivery Date from the buyer's delivery date, which is the Requested Delivery Date in the sales order. To confirm another date, change the Planned Delivery Date of the line.

Sales line Confirmed as
as ordered Accept
other Planned Delivery Date or other net price Per Line (Detail) with the new date or price
smaller quantity (also 0) the quantity there accepted, the rest rejected
deleted the whole line rejected
more than ordered not possible – the buyer has to change the order
other unit of measure than ordered not possible – set the sales line back to the ordered unit
net price 0 not possible – set the quantity to 0 instead to reject the line

As a whole, the confirmation is Accept only if every line is confirmed as ordered; otherwise it is Per Line (Detail). If a line breaks one of the rules, nothing is sent and a message names the line and the reason.

Confirming Again

If you changed the sales order after a confirmation, simply send the confirmation again. It then updates the last accepted confirmation, so the buyer sees one confirmation in its latest state. While a confirmation of the order still waits to be sent, no further one can be sent: send it or cancel it in the Ariba Sent Documents.

Rejecting an Order

Reject Ariba Order in the sales order (group Ariba) or Reject Order on the Ariba Order card rejects the whole order – on the card also when there is no sales order yet. The dialog asks for a Reason; the buyer sees it in SAP Business Network.

Cannot be undone

A rejected order stays rejected. The buyer has to order again. Once SAP Business Network has accepted the rejection, the Ariba order gets the status Rejected and no further confirmation can be sent. Business Central does not delete a sales order created already; do that yourself if needed.


Invoice and Credit Memo

Sending

  • Automatically on posting, if Auto Send Invoice is switched on for the buyer. Posting only queues the invoice or credit memo – posting itself waits for nothing. The job queue entry builds the document from the posted invoice and sends it within 15 minutes.
  • By hand: Upload Invoice on the posted sales invoice or Upload Credit Memo on the posted sales credit memo (under Marketplace, the same action for every marketplace). In the lists of posted invoices and credit memos you can mark several documents and send them at once. A message states the result.

If SAP Business Network has accepted a document already, it is not sent again – otherwise the buyer would get the invoice number twice. If a document still waits or failed on the way, it goes again unchanged. If it was rejected because of its content, it is built anew from the posted document as it is now – for example after you added the customer's VAT registration number.

On the posted invoice or credit memo of an Ariba order, the field Ariba Status shows where the document stands: Not sent, Pending, Sent, Rejected, Failed or Cancelled. What the buyer does with it afterwards is shown in Ariba Buyer Status (see Status at the Buyer). Ariba Sent Documents opens the attempts with the answers.

What an Invoice Needs

The Ariba invoice is the original invoice to the buyer. It takes amounts, VAT per line, payment terms (due date, cash discount), date of supply, your bank details and both VAT registration numbers from the posted document. For SAP Business Network to accept it:

Requirement What to do
VAT Registration No. of your company Enter it in the Company Information.
Tax-exempt lines (VAT 0%) The customer needs a VAT Registration No., and the line's VAT Posting Setup a VAT Clause with the reason of the exemption.
One invoice per Ariba order Do not post a combined invoice over several Ariba orders. An invoice over several shipments of the same order is fine.
Order lines only Freight, G/L account lines and lines added by hand to the sales order do not belong in the Ariba invoice; invoice them separately.
No invoice rounding Switch off invoice rounding for the customers of Ariba orders.
No prepayment Invoices that deduct a prepayment cannot be sent.
Ordered unit of measure Every invoice line in the unit the buyer ordered in.

An invoice created anew with Correct no longer knows its order lines. Business Central then matches it through the order number and the item. If the same item is on several lines of the order, that is not possible; create the invoice from the sales order instead.

Credit Memos

A credit memo always corrects an Ariba invoice that SAP Business Network has accepted, and the Ariba credit memo must name that invoice. Business Central keeps it in the field Ariba Corrected Invoice No. It is on the sales credit memo and the sales return order after Applies-to Doc. No., and on the posted sales credit memo with the Ariba fields (read-only there).

  • It is filled automatically when you create the credit memo or return order from the posted Ariba invoice (Correct, Cancel, Create Corrective Credit Memo or Copy Document with header), and whenever Applies-to Doc. No. is set to an Ariba invoice – typed or through the lookup.
  • You can also enter it by hand. Only posted Ariba invoices to the same bill-to customer are accepted.

For the Ariba credit memo, Business Central takes the Ariba Corrected Invoice No. first and, if it is empty, the invoice in Applies-to Doc. No. With either of them, Upload Credit Memo appears also for a credit memo entered by hand. In addition:

  • Its lines are matched to the lines of the order by item.
  • If the invoice itself still waits to be sent, the credit memo waits as well and goes only afterwards.

Why a field of its own

Some companies clear Applies-to Doc. No. before posting: they apply credit memos only when the payment comes in, so that bank statement and customer ledger entries match. Ariba Corrected Invoice No. keeps the link to the invoice independent of the application in accounting. The field does not affect the application itself.

Posted credit memo without invoice: If Upload Credit Memo reports that the credit memo does not refer to the Ariba invoice it corrects, enter the invoice afterwards:

  1. Open the posted sales credit memo and choose Update Document.
  2. In the group Ariba, enter the invoice in the field Ariba Corrected Invoice No. and confirm with OK.
  3. Choose Upload Credit Memo.

If the credit memo was entered by hand and carried no marketplace fields yet, Business Central takes them from the invoice in step 2. Only then does merchantCENTRAL offer Upload Credit Memo.

Get Posted Doc. Lines to Reverse

Get Posted Doc. Lines to Reverse copies lines only. Ariba Corrected Invoice No. stays empty there: enter the invoice by hand, or after posting with Update Document.

E-Invoice as Attachment

If a buyer asks for the e-invoice as a file, Business Central attaches it to the Ariba invoice or credit memo. For this, switch on Attach E-Invoice for the Ariba buyer.

Business Central does not create a file of its own for this. It attaches the file that the e-documents of Business Central exported after posting, in the format of the e-document service in the customer's document sending profile:

Format of the e-document service Attachment
XRechnung XML file, e.g. RE2600616.xml
ZUGFeRD / Factur-X PDF with embedded XML, e.g. RE2600616.pdf

For the XRechnung export of the e-documents, the customer needs an Email address. Without it, the export fails (the e-document error says that the customer has no email address), and the invoice waits for its e-invoice or cannot be sent with the attachment.

The file name is the number of the posted invoice or credit memo. Characters that SAP Business Network does not allow in file names become _. The file a document carries is shown in the Ariba Sent Documents in the field E-Invoice File.

What happened What Business Central does What you do
The export of the e-documents is still running (it runs in the background after posting). The document stays Pending without an attempt; Status Text says that it waits for the e-invoice. It goes once the file is there – for at most 24 hours. Nothing.
There is no exported e-invoice: no e-document service in the document sending profile, the export failed, or still no file after 24 hours. The document is not sent without the e-invoice: Failed, Status Text names the customer. Check the e-document service in the customer's document sending profile (for XRechnung also the customer's email address) or export the e-document, then Upload Invoice or Upload Credit Memo. If the buyer does not need the file after all, switch off Attach E-Invoice.
The user may not read the e-documents (this includes the user of the job queue). Failed, Status Text names the user. Assign a permission set for e-documents to the user, then send the document again.
The gateway refuses the attachment. Failed with the reason in Status Text. Fix the reason (usually format or size of the file) and send the document anew.

Attachments are subject to limits of SAP Business Network: PDF and XML are allowed, all attachments of a document together at most 6 MB. E-invoices are far smaller.

Clarify with the buyer first

  • Does SAP Business Network create the XRechnung itself? Buyers can switch on that SAP Business Network creates an XRechnung from the cXML invoice and keeps it as the legally valid invoice. If you then attach an XRechnung of your own, the buyer has two invoices with tax content. Leave Attach E-Invoice off in this case.
  • Does the buyer accept attachments? The buyer has to allow invoice attachments in its rules and can set the allowed file extensions and the size. If SAP Business Network rejects the invoice for that reason, it is shown as Rejected with its answer in the Ariba Sent Documents.

Status at the Buyer

Once SAP Business Network has accepted an invoice or credit memo, the buyer reports back what they do with it. Business Central fetches these status updates with every order import and shows them as Ariba Buyer Status on the posted invoice or credit memo, with the Ariba Buyer Comment beside it, and in Ariba Sent Documents as Buyer Status.

Buyer status Meaning
Processing The buyer received the invoice and checks it.
Approved (green) Checked and approved for payment. Payment Due Date shows by when the invoice amount is due, if the buyer reports it.
Rejected (red) The buyer rejected the invoice. The Buyer Comment usually gives the reason.
Paying (green) Payment is under way.
Paid (green) Paid. If the buyer pays less than the invoice amount, Paid Amount shows the amount and the comment the reason.
Cancelled (grey) Cancelled, for example by a later credit memo.

As long as the buyer reports nothing, the field stays empty. Which statuses a buyer reports is up to them; some report only rejections or only payments.

Rejected invoices are counted on the Ariba dashboard and on the merchantCENTRAL dashboard under Waiting for you (invoices and credit memos rejected by the buyer and Ariba invoices rejected by the buyer). You usually fix a rejection with a credit memo and a new invoice – Business Central does not send an invoice again once it was accepted. Then mark the rejection in Ariba Sent Documents with Mark Rejection as Handled; it leaves the dashboards.

Change it in SAP Business Network

SAP Business Network forwards the invoice status by cXML only if status updates are set to cXML under Electronic Order Routing as well (see Ariba Setup).

A status update that belongs to no document sent from Business Central – for example to an invoice entered in the portal – is listed in the Ariba sync errors.

Retries

What happened What Business Central does What you do
Gateway or SAP Business Network not reachable at the moment The document stays Pending and goes again with every run, at most five times (about an hour). Then Failed. Nothing; after Failed, Send Again.
Refused by the gateway Failed with the reason in Status Text. If the registration was the cause, correct it and choose Send Again. If the data was the cause, correct it and send the document anew.
Rejected by SAP Business Network Rejected with the answer of SAP Business Network. Correct the data and send anew (see Ariba Sent Documents).

Documents that were not accepted are counted on the merchantCENTRAL dashboard under Waiting for you as Ariba documents not accepted.

Switch over in SAP Business Network

SAP Business Network accepts invoices by cXML only when the invoice routing of your account is set to cXML. Switch it over when Business Central is to send the invoices, and clarify first with every buyer which rules it has for invoices.

See also: Ariba Buyers (Sales Channels) · Ariba Sent Documents · Ariba Setup