(DNK) Create and post a free text invoice for a public sector customer

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Use the Free text invoice and Post free text invoice forms to create and post a free text invoice and generate the invoice as an .xml file. The .xml file is then converted to the Offentlig Information Online Universal Business Language (OIOUBL) format. You can generate electronic invoices for customers for whom you have specified a European Article Numbering (EAN) number in the EAN field and selected the eInvoice check box in the Customers form.

  1. Click Accounts receivable > Common > Free text invoices > All free text invoices.

  2. Double-click a free text invoice or click Free text invoice to create a free text invoice. For more information, see Key tasks: Free text invoices.

  3. On the Action Pane, click Header view, and then click the General FastTab.

  4. Select the Line-specific check box to specify dimension accounts for each free text invoice line. You can enter a dimension account number in the Dimension account field on the Line details FastTab in Line view.

    Note

    If you clear the Line-specific check box, you can specify the dimension account for the free text invoice in the Dimension account field on the General FastTab in Header view.

  5. Click the Customer FastTab, and then in the Customer requisition and Customer reference fields, enter the customer requisition number and customer reference number.

  6. In the Contact field, select the name of the contact person.

  7. On the Action Pane, click Post > Post.

  8. In the Post free text invoice form, select the Posting and Print invoice check boxes.

  9. Click Printer setup > Invoice.

  10. In the Print destination settings form, select the required print options, and then click OK.

  11. In the Post free text invoice form, click OK to post the free text invoice and generate the .xml file. The .xml file is converted to the OIOUBL format.

  12. Close the forms.

When the batch job for electronic sales invoices is processed, invoices for customers who have an EAN number assigned are generated as .xml files. The .xml files are then converted to the OIOUBL format. The resulting OIOUBL files are created in the shared folder that is specified for the EInvoiceFileTransform_OIOUBL batch job task for the sales order batch job.

See also

(DNK) Set up batch processing for OIOUBL electronic invoicing

(DNK) Set up customer accounts for OIOUBL electronic invoicing