diff --git a/src/DiadocApi.cs b/src/DiadocApi.cs index ad7fd5b1..4deb5a29 100644 --- a/src/DiadocApi.cs +++ b/src/DiadocApi.cs @@ -595,6 +595,16 @@ public UniversalTransferDocumentBuyerTitleInfo ParseUniversalTransferDocumentBuy { return diadocHttpApi.ParseUniversalTransferDocumentBuyerTitleXml(xmlContent); } + + public UniversalCorrectionDocumentSellerTitleInfo ParseUniversalCorrectionDocumentSellerTitleXml(byte[] xmlContent) + { + return diadocHttpApi.ParseUniversalCorrectionDocumentSellerTitleXml(xmlContent); + } + + public UniversalTransferDocumentBuyerTitleInfo ParseUniversalCorrectionDocumentBuyerTitleXml(byte[] xmlContent) + { + return diadocHttpApi.ParseUniversalCorrectionDocumentBuyerTitleXml(xmlContent); + } public OrganizationUsersList GetOrganizationUsers(string authToken, string orgId) { diff --git a/src/DiadocHttpApi.UniversalTransferDocument.cs b/src/DiadocHttpApi.UniversalTransferDocument.cs index 3f4ab709..1dafe398 100644 --- a/src/DiadocHttpApi.UniversalTransferDocument.cs +++ b/src/DiadocHttpApi.UniversalTransferDocument.cs @@ -53,5 +53,15 @@ public UniversalTransferDocumentBuyerTitleInfo ParseUniversalTransferDocumentBuy { return PerformHttpRequest(null, "POST", "/ParseUniversalTransferDocumentBuyerTitleXml", xmlContent); } + + public UniversalCorrectionDocumentSellerTitleInfo ParseUniversalCorrectionDocumentSellerTitleXml(byte[] xmlContent) + { + return PerformHttpRequest(null, "POST", "/ParseUniversalCorrectionDocumentSellerTitleXml", xmlContent); + } + + public UniversalTransferDocumentBuyerTitleInfo ParseUniversalCorrectionDocumentBuyerTitleXml(byte[] xmlContent) + { + return PerformHttpRequest(null, "POST", "/ParseUniversalCorrectionDocumentBuyerTitleXml", xmlContent); + } } } \ No newline at end of file diff --git a/src/IDiadocApi.cs b/src/IDiadocApi.cs index 3c8da45e..62eb45e3 100644 --- a/src/IDiadocApi.cs +++ b/src/IDiadocApi.cs @@ -101,6 +101,8 @@ public interface IDiadocApi AcceptanceCertificateSellerTitleInfo ParseAcceptanceCertificateSellerTitleXml(byte[] xmlContent); UniversalTransferDocumentSellerTitleInfo ParseUniversalTransferDocumentSellerTitleXml(byte[] xmlContent); UniversalTransferDocumentBuyerTitleInfo ParseUniversalTransferDocumentBuyerTitleXml(byte[] xmlContent); + UniversalCorrectionDocumentSellerTitleInfo ParseUniversalCorrectionDocumentSellerTitleXml(byte[] xmlContent); + UniversalTransferDocumentBuyerTitleInfo ParseUniversalCorrectionDocumentBuyerTitleXml(byte[] xmlContent); OrganizationUsersList GetOrganizationUsers(string authToken, string orgId); List GetOrganizationsByInnList(GetOrganizationsByInnListRequest innList); List GetOrganizationsByInnList(string authToken, string myOrgId, GetOrganizationsByInnListRequest innList);