Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Hello everyone,


According with the new regulation, companies in Colombia are required to adapt to the changes detailed in resolution 000165 and technical annex version 1.9. In this blog post, we will cover the following topics available for SAP S/4HANA Cloud 2408:

  • Rounding removal
  • Healthy taxes
  • Foreign currency in export invoices
  • Emission and signing date of electronic documents
  • Period of time for credit and debit notes

Rounding removal
The system does not send the <RoundingAmount> tag in the XML file for invoices anymore as rounding for values related with taxes is disabled. This means the following validations rules from DIAN are eliminated: FAS18, FAX18, CAS18, CAX18, DAS18, DAX18.

 
Healthy taxes
The system allows you to display information of the taxes for ultra-processed edible goods, liquor consumption, ultra-processed sugary drinks, and plastic products. To do so, you create a new condition type or tax code related to the tax and add this to the Configure Value Mapping app. See Configuring Replace Fix Values Using Value Mapping (FIX_VALUE_REPLACER).

The system automatically calculates taxes for ultra-processed edible goods. For liquor consumption, ultra-processed sugary drinks, and plastic products, you implement the BAdI: Adapt Invoice XML (EDOC_CO_ADAPT_XML_INVOICE), the BAdI: Adapt Credit Note XML (EDOC_CO_ADAPT_XML_CREDIT_NOTE) or the BAdI: Adapt Debit Note XML (EDOC_CO_ADAPT_XML_DEBIT_NOTE). See App Extensibility: eDocument Cockpit or Manage Electronic Documents.


Foreign currency in export invoices
Electronic documents for export invoices must be reported in Colombian pesos. If you want to use the PDF generated by the system in a foreign currency, you inform the <Interoperability> tag group of the UBLExtension and calculate the values. This tag group is optional and does not have validation rules in the system.

With the new tags, you can implement the BAdI: Adapt Invoice XML (EDOC_CO_ADAPT_XML_INVOICE), the BAdI: Adapt Credit Note XML (EDOC_CO_ADAPT_XML_CREDIT_NOTE) or the BAdI: Adapt Debit Note XML (EDOC_CO_ADAPT_XML_DEBIT_NOTE).

Be aware that when you convert the currency in the BAdI, you must also recalculate the CUFE.


Emission and signing date of electronic documents
The emission date of the electronic documents must be equal to the signing date of these electronic documents. To support different time zones, we added a new parameter in the CPI where the system converts an alternative time zone to the Colombian one, avoiding the documents to be signed in different times.

To avoid this inconsistency, update your Cloud Platform Integration (CPI) to version 2.0.13.

 

Period of time for credit and debit notes
[Updated on May 20, 2024]
You can use the following XML tags from the BAdI: Adapt Credit Note XML (EDOC_CO_ADAPT_XML_CREDIT_NOTE) to inform the period of time you want to report credit notes:

  • /CreditNote/cac:lnvoicePeriod/cbc:StartDate
  • /CreditNote/cac:lnvoicePeriod/cbc:EndDate
  • /CreditNote/cac:lnvoicePeriod/cbc:StartTime
  • /CreditNote/cac:lnvoicePeriod/cbc:EndTime

Additionally, you can use the following XML tags from the BAdI: Adapt Debit Note XML (EDOC_CO_ADAPT_XML_DEBIT_NOTE) to inform the period of time you want to report debit notes:

  • /DebitNote/cac:lnvoicePeriod/cbc:StartDate
  • /DebitNote/cac:lnvoicePeriod/cbc:EndDate
  • /DebitNote/cac:lnvoicePeriod/cbc:StartTime
  • /DebitNote/cac:lnvoicePeriod/cbc:EndTime

 

CUFE algorithm
When you submit a credit or debit note, the @schemeName attribute of the <UUID> tag in the XML file must be filled in. You can implement the BAdI: Adapt Credit Note XML (EDOC_CO_ADAPT_XML_CREDIT_NOTE) or the BAdI: Adapt Debit Note XML (EDOC_CO_ADAPT_XML_DEBIT_NOTE) with the respective CUFE algorithm.

 

These changes are already available in your system and will be delivered as default with SAP S/4HANA Cloud 2408.

 

Did you like this post? Give it a Like and share the content with your colleagues, and feel free to leave a feedback, comment or question in the space below.

 
Regards,
Aleshane Ghisleri
#SAPGoGlobal #SAPLocalization