Счет-фактура (информация продавца)
При “type_document”: “Счет-фактура (информация продавца)” при заполнении document_data используется схема InvoiceSeller.
Документ не прошел валидацию по причине ФНС: при указании информации об участниках в приказе используется тег СокрНаим, в валидаторе КраткНазв.
!!! Сокращенное наименование это поле не обязательное, если оно не нужно, то он можно составить счет фактуру, все остальное кроме этого поля валидно.
Схема https://fedo.spheragroup.ru/redoc:
Пример тела запроса:
{
"send": "response-body",
"file_back": ["xml"],
"query_params": {},
"type_document": "Счет-фактура (информация продавца)",
"document_data": {
"id_recipient_file": "string",
"id_sender_file": "string",
"info_about_participants": {
"id_sender_file": "string",
"id_recipient_file": "string",
"info_about_electronic_doc_management_operator": {
"name": "string",
"inn": "1234567890",
"id": "str"
}
},
"function": "СЧФ",
"date_created_file_invoice": "10.09.2024",
"time_created_file_invoice": "10.10.00",
"info_about_existence_agreed_structure": "stringstringst",
"serial_number_invoice": "string",
"date_invoice": "21.16.0599",
"guid": "b0d4ce5d-2757-4699-948c-cfa72ba94f86",
"year_file_created": "2024",
"month_file_created": "10",
"day_file_created": "10",
"type_goods": "PROS",
"name_economic_entity": "string",
"basis_economic_entity_originator_file": "string",
"currency": "str",
"correction": {"number": "str", "date": "05.10.2024"},
"info_seller": [
{
"okpo": "1234567890",
"structural_division": "string",
"info_participant_document_flow": "string",
"contact_data": {"email": "string", "phone": "string"},
"bank_requisites": {
"bank_account_number": "string",
"bank_info": {
"bank_name": "string",
"bank_code": "044525974",
"correspondent_account_bank": "30101810145250000974"
}
},
"short_name": "string",
"individual_entrepreneur": {
"inn": "578307924830",
"details_certificate": "string",
"other_info": "string",
"fio": {
"last_name": "string",
"first_name": "string",
"middle_name": "string"
}
},
"address": {
"address_inf": {"county_code": "str", "address": "string"}
}
}
],
"info_shipper": [
{
"shipper": {
"address": {
"address_rf": {
"building": "string",
"city": "string",
"district": "string",
"flat": "string",
"house": "string",
"locality": "string",
"postal_code": "127630",
"region_code": "49",
"street": "string"
}
},
"bank_requisites": {
"bank_account_number": "string",
"bank_info": {
"bank_code": "044525974",
"bank_name": "string",
"correspondent_account_bank": "string"
}
},
"contact_data": {"email": "string", "phone": "string"},
"organization": {
"name": "string",
"kpp": "123456789",
"inn": "9000802347"
},
"info_participant_document_flow": "string",
"okpo": "string",
"short_name": "string",
"structural_division": "string"
}
}
],
"consignee": [
{
"address": {
"address_inf": {"address": "string", "county_code": "str"}
},
"bank_requisites": {
"bank_account_number": "string",
"bank_info": {
"bank_code": "044525974",
"bank_name": "string",
"correspondent_account_bank": "string"
}
},
"contact_data": {"email": "string", "phone": "string"},
"foreign_organization": {
"name": "string",
"other_info": "string",
"id_legal_entity": "900080234745"
},
"info_participant_document_flow": "string",
"okpo": "string",
"short_name": "string",
"structural_division": "string"
}
],
"information_payment_settlement_doc": [
{"amount": "1200.00", "date": "05.10.2024", "number": "12346"}
],
"info_buyer": [
{
"okpo": "1234567890",
"structural_division": "string",
"info_participant_document_flow": "string",
"contact_data": {"email": "string", "phone": "string"},
"bank_requisites": {
"bank_account_number": "string",
"bank_info": {
"bank_name": "string",
"bank_code": "044525974",
"correspondent_account_bank": "30101810145250000974"
}
},
"short_name": "string",
"individual": {
"inn": "097926189546",
"details_certificate": "string",
"other_info": "string",
"fio": {
"last_name": "string",
"first_name": "string",
"middle_name": "string"
}
},
"address": {
"address_rf": {
"postal_code": "917841",
"region_code": "83",
"district": "string",
"city": "string",
"locality": "string",
"street": "string",
"house": "string",
"building": "string",
"flat": "string"
}
}
}
],
"additional_info_participants": {
"identifier_government_contract": "stringstringstringst",
"currency": "string",
"currency_exchange_rate": "6289.2184",
"circumstances_invoice_formation": "1",
"seller_info_circumstances_purchase": {
"date_government_contract": "14.75.0604",
"number_government_contract": "string",
"seller_personal_account_number": "stringstrin",
"budget_classification_code": "stringstringstringst",
"goal_code": "stringstringstringst",
"code_territorial_administration": "stri",
"name_territorial_administration": "string"
},
"info_about_factor": {
"okpo": "1234567890",
"structural_division": "string",
"info_participant_document_flow": "string",
"contact_data": {"email": "string", "phone": "string"},
"bank_requisites": {
"bank_account_number": "string",
"bank_info": {
"bank_name": "string",
"bank_code": "044525974",
"correspondent_account_bank": "30101810145250000974"
}
},
"short_name": "string",
"individual_entrepreneur": {
"inn": "464150431162",
"details_certificate": "string",
"other_info": "string",
"fio": {
"last_name": "string",
"first_name": "string",
"middle_name": "string"
}
},
"address": {
"address_inf": {"county_code": "str", "address": "string"}
}
},
"basis_assignment_monetary_claim": {
"document_name": "string",
"document_number": "string",
"document_date": "10.10.2024",
"additional_information": "string",
"id_document": "string"
}
},
"details_document": [
{
"document_date": "10.10.2024",
"document_name": "string",
"document_number": "9382625"
}
],
"info_field_fact_economic_life_1": {
"id_file": "b0d4ce5d-2757-4699-948c-cfa72ba94f86",
"text_info": [{"id": "string", "value": "string"}]
},
"details_table": {
"info_shipped_goods": [
{
"table_row_number": "string",
"product_name": "string",
"unit_code": "stri",
"quantity": "string",
"price_per_unit_measurement": "string",
"cost_goods_without_nds": "string",
"tax_rate": "0%",
"cost_goods_with_nds": "string",
"amount_excise": {"amount_excise_tax": "string"},
"amount_tax_presented_buyer": {"value": "string"},
"info_customs_declaration": [
{
"product_country_code": "123",
"registration_number_goods_declaration": "123283993498"
}
],
"additional_info_shipped_goods": {
"sign": "1",
"additional_info_about_sign": "stri",
"name_unit_measurement": "string",
"short_name_country_good": "string",
"ordered_quantity": "string",
"product_description": "string",
"product_grade": "string",
"item_number": "string",
"product_code": "string",
"catalog_code": "stringstringstringstringstr",
"goods_type_code": "stringstri",
"info_product_subject_traceability": [
{
"additional_indicator": "string",
"name_unit_quantitative_accounting_goods": "Килограмм",
"quantity_product_units_measurement": "3",
"registration_number_batch_goods": "123456789123456789123456789",
"unit_quantitative_accounting_goods": "166"
}
],
"identification_means_number": [
{"id_transport_packaging": "string"},
{"control_identification_mark": ["string"]},
{"package_number": ["string"]}
]
},
"information_field_fact_economic_life": [
{"id": "string", "value": "string"}
]
}
],
"total_paid": {
"total_paid_without_tax": "string",
"total_paid_with_tax": "string",
"quantity": "string",
"total_tax_amount": {"value": "string"}
}
},
"content_fact_economic_life_3": {
"transfer_info": {
"content_operation": "string",
"type_operation": "string",
"date_shipment_goods": "05.10.2024",
"start_date_service_period": "05.10.2024",
"end_date_service_period": "32.14.0413",
"basis_shipment_goods": [
{
"document_name": "string",
"document_number": "string",
"document_date": "10.10.2024",
"additional_information": "string",
"id_document": "string"
}
],
"info_about_person_who_transferred_goods": {
"another_person": {
"individual": {
"other_info": "string",
"fio": {
"last_name": "string",
"first_name": "string",
"middle_name": "string"
},
"basis_individual_entrusted_shipment_goods": "string"
}
}
},
"transportation": {
"info_about_transportation": "string",
"bill_lading": [
{"date": "05.10.2024", "number": "string"}
],
"carrier": {
"okpo": "1234567890",
"structural_division": "string",
"info_participant_document_flow": "string",
"contact_data": {"email": "string", "phone": "string"},
"bank_requisites": {
"bank_account_number": "string",
"bank_info": {
"bank_name": "string",
"bank_code": "044525974",
"correspondent_account_bank": "30101810145250000974"
}
},
"short_name": "string",
"individual_entrepreneur": {
"inn": "304444928743",
"details_certificate": "string",
"info_identifying_individual": "string",
"fio": {
"last_name": "string",
"first_name": "string",
"middle_name": "string"
}
},
"address": {
"address_inf": {
"county_code": "str",
"address": "string"
}
}
}
},
"info_transfer_item": {
"date_transfer_item": "05.10.2024",
"info_about_transfer": "string"
}
},
"info_field_fact_economic_life_3": {
"id_file": "8f5C120f-73fe-e0F6-cA10-4c0355aCeAC5",
"text_info": [{"id": "string", "value": "string"}]
}
},
"signatory": [
{
"area_authority": "0",
"status": "1",
"basis_authority": "string",
"basis_authority_organization": "string",
"representative_legal_entity": {
"other_info": "string",
"fio": {
"last_name": "string",
"first_name": "string",
"middle_name": "string"
},
"position": "string",
"company_name": "string",
"inn": "4858947593",
"details_certificate": "string"
}
}
]
}
}