Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHORUS PRO #612

Open
peffi68 opened this issue Jan 21, 2025 · 5 comments
Open

CHORUS PRO #612

peffi68 opened this issue Jan 21, 2025 · 5 comments
Labels

Comments

@peffi68
Copy link

peffi68 commented Jan 21, 2025

We use Chorus pro module to send our invoices into the platform.

Since few days all our invoices are rejected and we don't understand why.

We have this error message : "L'element FichierXml.SupplyChainTradeTransaction.ApplicableHeaderTradeSettlement.SpecifiedTradeSettlementPaymentMeans.TypeCode.value est obligatoire."

We checked in our xmlfile and we found this

  <ram:ApplicableTradeTax>
    <ram:CalculatedAmount>73.50</ram:CalculatedAmount>
    <ram:TypeCode>VAT</ram:TypeCode>
    <ram:BasisAmount>367.50</ram:BasisAmount>
    <ram:CategoryCode>S</ram:CategoryCode>
    <ram:DueDateTypeCode>5</ram:DueDateTypeCode>
    <ram:RateApplicablePercent>20.0</ram:RateApplicablePercent>
  </ram:ApplicableTradeTax>
  <ram:SpecifiedTradeSettlementPaymentMeans>

  <ram:SpecifiedTradePaymentTerms>
    <ram:Description>30J</ram:Description>
    <ram:DueDateDateTime>
      <udt:DateTimeString format="102">20250219</udt:DateTimeString>
    </ram:DueDateDateTime>
  </ram:SpecifiedTradePaymentTerms>
  <ram:SpecifiedTradeSettlementHeaderMonetarySummation>
    <ram:LineTotalAmount>367.50</ram:LineTotalAmount>
    <ram:TaxBasisTotalAmount>367.50</ram:TaxBasisTotalAmount>
    <ram:TaxTotalAmount currencyID="EUR">73.50</ram:TaxTotalAmount>
    <ram:GrandTotalAmount>441.00</ram:GrandTotalAmount>
    <ram:TotalPrepaidAmount>0.00</ram:TotalPrepaidAmount>
    <ram:DuePayableAmount>441.00</ram:DuePayableAmount>

How can we fix this issue?

@peffi68 peffi68 added the bug label Jan 21, 2025
@legalsylvain
Copy link
Contributor

please specify the version you are using.

CC : @alexis-via

@peffi68
Copy link
Author

peffi68 commented Jan 21, 2025 via email

@peffi68
Copy link
Author

peffi68 commented Jan 24, 2025

We are working on odoo version 16

We are using CHORUS Version 16.0.1.0.0

@alexis-via
Copy link
Contributor

alexis-via commented Jan 24, 2025

If the module account_edi_ubl_cii is installed, you must uninstall it first. And then it will work, because you will be using the OCA implementation of factur-x and NOT the native implementation of factur-X, which has a faulty XML.

@peffi68
Copy link
Author

peffi68 commented Jan 25, 2025

Thanks a lot but it didn't solve the problem. I decided to use CII format instead of factur-x pdf and it works better. I had some issues that I solved but still one remaining.
When I have a line with price = 0, my invoice is rejected with the error G6.06. Lorsque le prix unitaire est negatif ou nul, aucune charge ou remise ne peut etre definie.
I

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants