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

Ошибка 412 в методе GenerateReceiptXml V2 #1110

Open
PolinaBrag opened this issue Dec 13, 2024 · 0 comments
Open

Ошибка 412 в методе GenerateReceiptXml V2 #1110

PolinaBrag opened this issue Dec 13, 2024 · 0 comments

Comments

@PolinaBrag
Copy link

PolinaBrag commented Dec 13, 2024

Добрый день. Пытаемся сгенерировать извещение методом GenerateReceiptXml V2, в структуре ReceiptGenerationRequestV2 в SignerContent в виде массива байт передаем XML-файл со следующим содержанием:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Signer SignatureType="1" SignerStatus="1">
    <Certificate CertificateBytes="MIIIZDCC........LtnYQ=="/>
    <Fio LastName="Васильков" FirstName="Никита" MiddleName="Владимирович"/>
    <Position PositionSource="Manual">Директор</Position>
</Signer>

Получаем ошибку status=412, errorEntity ""receiptGenerationRequest.SignerContent[204]: The supplied value is invalid.""
Что не верно передаем? Можете ли предоставить корректны пример?
https://developer.kontur.ru/docs/diadoc-api/instructions/servicedocs.html#service-universal-signer
здесь смотрели и пример и xsd

@PolinaBrag PolinaBrag changed the title Ошибка 204 в методе GenerateReceiptXml V2 Ошибка 412 в методе GenerateReceiptXml V2 Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant