Coder Social home page Coder Social logo

Comments (3)

atytsky avatar atytsky commented on May 29, 2024

Здесь описана структура InvoiceInfo.

Все required поля - обязательны для заполнения.

from diadocsdk-csharp.

des1roer avatar des1roer commented on May 29, 2024

вот и что писать в Seller ?

     var content = new InvoiceInfo()
        {
            // заполняем согласно структуре InvoiceInfo
            InvoiceDate = "31.01.2016",                    // дата СФ
            InvoiceNumber = "11-012016-2410000000",                  // номер СФ
            Seller = {

            },
            Signer = {                  
                SignerCertificate = certContent                  
            },

            PaymentDocuments =   {
                    new PaymentDocumentInfo
                    {
                           DocumentDate = "08.08.2016",
                           DocumentNumber = "№00243015140"
                    }
            },
            Items = {
                new InvoiceItem
                {
                    Product = "Горячая вода (компонент на тепловую энергию). Прочие",
                    CountriesOfOrigin = { "23", "3243" } ,
                    TaxRate =  TaxRate.Fraction_10_110,
                    Subtotal = "321231"
                }
            },
            AdditionalInfos = {
                new AdditionalInfo
                {
                    Id = "2312321",
                    Value = "32423423"
                }
            },
            Total = "1000"
        };

from diadocsdk-csharp.

atytsky avatar atytsky commented on May 29, 2024

Под описанием каждой структуры, есть текст, который рекомендуется читать. Например для InvoiceInfo написано следующее:

Реквизиты продавца (InvoiceInfo.Seller) и покупателя (InvoiceInfo.Buyer) заполняются в виде структуры данных DiadocOrganizationInfo.

Реквизиты грузоотправителя и грузополучателя (ShipperOrConsignee.OrgInfo) заполняются в виде структуры данных OrganizationInfo. Если проставлен флаг ShipperOrConsignee.SameAsSellerOrBuyer, то реквизиты грузоотправителя/грузополучателя заполнять не нужно - будут использоваться соответствующие реквизиты продавца/покупателя.

from diadocsdk-csharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.