Customs Invoices (lpesp0130m000)

Use this session to view the customs invoices generated for the customs business partner.

The data in this session is updated from the Import Customs Invoices (lpesp0230m000) session. The application creates the purchase invoices for the customs invoices with the Status set to Ready for Processing or Processing Error. For the purchase invoices created when processing the customs invoices, the Exclude from Pay-to Business Partner Statistics check box is selected in the Invoice-from Business Partner Open Entries (tfacp2520m000) session.

Note: This session can be accessed only if the Spain check box is selected in the Implemented Software Components (tccom0100s000) session.

Field Information

Supplier's Invoice Number

The identification number of the invoice used by the supplier. This number is mentioned on the invoice as a reference.

Customs Invoice ID

The identification number of the customs invoice generated for the customs business partner.

Invoice Date

The date and time when the customs invoice is generated.

Amount

The total amount of the customs invoice.

Currency

The code of the currency in which the customs invoice amount is expressed.

Tax Rate

The tax rate applied for the tax code associated with the customs invoice.

Tax Amount

The total tax amount calculated for the customs invoice.

Financial Company

The code of the financial company in which the customs invoice is created.

Note: This value must be of type Financial or Both.
Transaction Type

The code of the transaction type associated with the customs invoice.

Note: This field is enabled only if the Status field is set to Ready for Processing or Missing Data.
Customs Invoice Series

The code of the series associated with the transaction type of the customs invoice.

Note: This field is enabled only if the Status field is set to Ready for Processing or Missing Data.
Tax Country

The code of the tax country in which the customs invoice is generated.

Tax Code

The tax code linked to the customs invoice.

Note: 
  • This field is enabled only if the Status field is set to Ready for Processing or Missing Data.
  • You can only use the tax code for which:
    • The Tax Exception field is set to Customs in the Exceptions by Tax Codes (lpesp0102m000) session.
    • The Tax Type field is set to Shifted in the Tax Codes by Country (tcmcs0536m000) session.
    , Tax Rate field is set to Tax and Tax Type
Invoice-from Business Partner

The code of the invoice-from business partner for which the customs invoice is generated.

Note: This field is enabled only if the Status field is set to Ready for Processing or Missing Data.
Name

The name of the business partner.

Ledger Account

The code of the ledger account to which the amount of the customs invoice is posted.

Note: This field is enabled only if the Status field is set to Ready for Processing or Missing Data.
Status

The status of the customs invoice.

Allowed values

Ready for Processing
Missing Data
Processed
Processing Error
Not Applicable
Note: This value is updated to Missing Data if these values are blank or 0:
  • Supplier's Invoice Number
  • Invoice Date
  • Amount
  • Tax Amount
  • Transaction Type
  • Tax Country
  • Tax Code
  • Invoice-from Business Partner
  • Ledger Account
Error Message

The error message that is displayed when processing the customs invoice.

Document ID

The identification number of the invoice document for which electronic invoice data must be displayed.

Import Date

The date and time when the data from the excel file is imported for processing.