(CHN) Chinese tax integration for VAT customer invoices [AX 2012]

You can generate value-added tax (VAT) customer invoices, and then export them as text files. You can then import reference numbers for the VAT customer invoices that can be linked to the original invoices.

Before you export a VAT customer invoice, you can split the VAT customer invoice to create multiple invoice documents. You can also combine multiple VAT customer invoices to create one invoice export document that contains the line details of the original invoices.

Note

This topic does not apply to versions of Microsoft Dynamics AX 2012 prior to cumulative update 6 for AX 2012 R2.

A VAT customer invoice is generated when you post a customer transaction that uses the sales tax group for VAT and the item sales tax group for VAT. You can generate a VAT customer invoice from a sales order, a return sales order, a credit note, a free text invoice, or a project sales invoice.

You should split a VAT customer invoice if the Over amount limit check box is selected in the VAT invoice integration form. The Over amount limit check box is selected for the invoices that have a total invoice amount that exceeds the amount limit that you specify in the Maximum invoice amount field in the Tax integration profiles form.

To fix this issue, you can run the TaxExportInvoiceTaxIntegration_CN class to export these remaining invoices. You can then run the data upgrade again. For more information, go to TaxExportInvoiceTaxIntegration_CN Class.

Yes. You can customize VAT customer invoices by adding other fields, and then export the VAT customer invoices as text files. Perform the following steps to customize VAT customer invoices to include other details.

If the information is available in the default data set, perform the following steps:

Press CTRL + D to open the Developer console, in the Application Object Tree (AOT) node, expand the Data dictionary node, the Maps node, the TaxIntgrExportDocumentLineSourceMap_CN node, and the Mappings node.

Expand the table, and then select the field for which you want to use different information.

In the Properties window, in the MapFieldTo field, select the field that you want to replace the relationship with.

–or–

If the information is not available in the default dataset, perform the following steps:

Press CTRL + D to open the Developer console, expand the AOT node, and then expand the Classes node and the TaxIntgrExportDocumentExporter_CN node.

Right-click the TaxIntgrExportDocumentExporter_CN.doPopulateExportData() method, and then click View code.

Replace the default fields in Documentview with the ones you want to include. For example, to replace customer name with customer account, change the code line headerTmp.InvoiceInfo += documentView.CustName; to headerTmp.InvoiceInfo += documentView.CustAccount;