bassemAgmi / EInvoicingSigner

A command prompt application used to serialize and sign tax payers documents before sending the documents to Egyptian Tax Authority.
71 stars 57 forks source link

error 4043 #14

Closed ahmedmuawad closed 2 years ago

ahmedmuawad commented 2 years ago

-03. ITIDA Signature Invalid Signature • 4043 4043:message-digest attribute value does not match calculated value[message-digest attribute value does not match calculated value] i got this error after submit document , i'm using "MCDR 2019" any help ?

whhsn commented 2 years ago

Solution:

[https://github.com/bassemAgmi/EInvoicingSigner/issues/12]

fadyrashwan commented 2 years ago

عندي نفس المشكلة و جربت الحل المطروح بدون نتيجة

ahmedmuawad commented 2 years ago

ماتبعتش اي حاجه nulled .. اشتغلت معايا كده

On Tue, May 3, 2022, 19:11 fadyrashwan @.***> wrote:

عندي نفس المشكلة و جربت الحل المطروح بدون نتيجة

— Reply to this email directly, view it on GitHub https://github.com/bassemAgmi/EInvoicingSigner/issues/14#issuecomment-1116343103, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOT6RIEBAD7WPWAQWO6TVE3VIFM3FANCNFSM5PWAZTAA . You are receiving this because you authored the thread.Message ID: @.***>

whhsn commented 2 years ago

@fadyrashwan Send the JSON file

fadyrashwan commented 2 years ago

{"issuer":{"address":{"branchID":"0","country":"EG","governate":"Port Said","regionCity":"East Area","street":"1115 مكتب بالمحل الكائن شارع عبادى والاسكندرية عمارة مرزوق العرب بورسعيد , ","buildingNumber":"13","postalCode":"","floor":"2","room":"","landmark":"","additionalInformation":""},"type":"B","id":"482259396","name":"لينكم للتجارة والاستثمار والتنميه"},"receiver":{"address":{"country":"","governate":"","regionCity":"","street":"","buildingNumber":"","postalCode":"","floor":"","room":"","landmark":"","additionalInformation":""},"type":"P","id":"","name":""},"documentType":"I","documentTypeVersion":"1.0","dateTimeIssued":"2022-04-30T21:30:13Z","taxpayerActivityCode":"4610","internalID":"3277","purchaseOrderReference":"","purchaseOrderDescription":"","salesOrderReference":"","salesOrderDescription":"","proformaInvoiceNumber":"","payment":{"bankName":"","bankAddress":"","bankAccountNo":"","bankAccountIBAN":"","swiftCode":"","terms":""},"delivery":{"approach":"","packaging":"","dateValidity":"","exportPort":"","grossWeight":0.0,"netWeight":0.0,"terms":""},"invoiceLines":[{"description":"ريداتير باسات 98 اوتوماتيك بيهر","itemType":"EGS","itemCode":"EG-482259396-19","unitType":"EA","quantity":1.0,"internalCode":"19","salesTotal":1750.0,"total":1995.0,"valueDifference":0.0,"totalTaxableFees":0.0,"netTotal":1750.0,"itemsDiscount":0.0,"unitValue":{"currencySold":"EGP","amountEGP":1750.0},"discount":{"rate":0.0,"amount":0.0},"taxableItems":[{"taxType":"T1","amount":245.0,"subType":"V009","rate":14.0}]}],"totalDiscountAmount":0.0,"totalSalesAmount":1750.0,"netAmount":1750.0,"taxTotals":[{"taxType":"T1","amount":245.0}],"totalAmount":1995.0,"extraDiscountAmount":0.0,"totalItemsDiscountAmount":0.0}

fadyrashwan commented 2 years ago

@whhsn بعت الملف

fadyrashwan commented 2 years ago

@ahmedmuawad ممكن تقولنا المشكلة كانت اية

fadyrashwan commented 2 years ago

@ahmedmuawad @bassemAgmi @whhsn 4043 4043:message-digest attribute value does not match calculated المساعدة من فضلكوا

hakimsameh commented 2 years ago

انا قابلت المشكلة دى واتحلت بالكود https://github.com/whhsn/EInvoicingSigner/blob/master/EInvoicingSigner/Signer.cs

fadyrashwan commented 2 years ago

انا قابلت المشكلة دى واتحلت بالكود https://github.com/whhsn/EInvoicingSigner/blob/master/EInvoicingSigner/Signer.cs

الف شكر على اهتمامك انا اخدت نفس الكود كوبي باست و بردو نفس المشكلة ممكن خضرتك تبعتلى سكرين شوت من مكتبات NuGet Package تكون المشكلة اصدار مثلا او زى كدة و شكرا مرة اخرى

fadyrashwan commented 2 years ago

السلام عليكم جميعا المشكلة الحمدلله اتحلت بس اتحلت لما حولت target من framework الى Core