Comments (3)
Здесь описана структура InvoiceInfo.
Все required поля - обязательны для заполнения.
from diadocsdk-csharp.
вот и что писать в 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.
Под описанием каждой структуры, есть текст, который рекомендуется читать. Например для InvoiceInfo написано следующее:
Реквизиты продавца (InvoiceInfo.Seller) и покупателя (InvoiceInfo.Buyer) заполняются в виде структуры данных DiadocOrganizationInfo.
Реквизиты грузоотправителя и грузополучателя (ShipperOrConsignee.OrgInfo) заполняются в виде структуры данных OrganizationInfo. Если проставлен флаг ShipperOrConsignee.SameAsSellerOrBuyer, то реквизиты грузоотправителя/грузополучателя заполнять не нужно - будут использоваться соответствующие реквизиты продавца/покупателя.
from diadocsdk-csharp.
Related Issues (20)
- GetNewEvents
- Как подписать неформализированый tovtorg_05_02_01 входящий документ HOT 2
- Документы с промежуточным получателем (proxyBoxId)
- что нужно написать ,для выбора (Доп. соглашение к договору) в (ProformaInvoice) HOT 5
- (ResolutionRequestTask.Send): ##100[Ошибка сервера Диадок]code:404, HTTP
- Как получить из подписи данные юр. лица
- Invalid API client id HOT 1
- Подписание актов Торг2
- Верно ли мы определяем дату приемки - AcceptanceDate
- GetDocflowEvents не возвращает события. HOT 1
- Работа с двутитульными документами
- Ошибка при с МЧД HOT 5
- УПД со сведениями о прослеживаемых товарах. графа 14 Стоимость товара, подлежащего прослеживаемости
- Ошибка - Попытка установить соединение была безуспешной . diadoc-api.kontur.ru:443
- Статус Контрагента
- Ограничение на частоту отправки запросов в API Диадкок
- Получить поле «группа» у контрагента. HOT 4
- Текст ошибки в API при аннулировании в роуминге
- Как получить табличную часть документа? HOT 1
- Отсутствует сущность, на которую ссылается направление на подписание
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diadocsdk-csharp.