- eInvoicing Service
- About Us
- What We Offer
- FAQ
- Change Logs
- On Boarding
- eInvoicing Service API
- Service Endpoints & Network Details
- API Authentication
- API Endpoints
- JSON Structures & Payloads
- Offline QR Code
- My data status
- Extra Functionalities
- Terminology
- VAT Validation
- Attachments
- SOFTONE ERP Related Segments
- eInvoicing Portal
- WIKI JSON Internal
- WIKI JSON Samples
1.1 debit b2g sample
Developing
POST
https://einvoice-demo.s1ecos.gr/invoice/json
Request
Header Params
APIKey
string
optional
Default:
389ad902-96f0-457d-8b4b-a55e0f911821
Body Params application/json
object {0}
Example
{
"IAPRSignPolicy": 2,
"CurrencyCode": "EUR",
"InvoiceType": "Sales Invoice",
"InvoiceTypeCode": "1.1",
"DocumentType": "Sales Invoice",
"DocumentTypeCode": "ELB2G",
"OrderNumber": "",
"Series": "0",
"Number": "698806",
"DateIssued": "2025-03-11T13:18:12",
"B2GDetails": {
"ContractingAuthorityCode": "1007.E84501.0001",
"ContractingAuthority": "Νame of Contracting Authority",
"ContractTypeCode": "2|2018ΕΠ06600057",
"ContractReferenceCode": "20SYMV006467658"
},
"Issuer": {
"RegisteredName": "issuer's name",
"BrandName": "issuer's brand",
"Vat": "EL135952929",
"TaxOffice": "issuer's Tax Office",
"Phones": [
"2000000000"
],
"Faxes": [
"2000000000"
],
"Address": {
"CountryCode": "GR",
"City": "issuer's city",
"Street": "issuer's street",
"Number": "issuer's number",
"Postal": "issuer's postal code"
},
"BranchCode": 0
},
"CounterParty": {
"RegisteredName": "Νame of Contracting Authority",
"BrandName": "counter party's brand",
"Vat": "EL090025537",
"TaxOffice": "counter party's Tax Office",
"Phones": [
"20000000"
],
"Address": {
"CountryCode": "GR",
"City": "counter party's city",
"Street": "counter party's street",
"Number": "counter party's number",
"Postal": "counter party's postal code"
},
"BranchCode": 0
},
"Recipient": {
"RegisteredName": "Recipient's name",
"BrandName": "Recipient's brand",
"Vat": "EL090025537",
"TaxOffice": "Recipient's Tax Office",
"Phones": [
"20000000"
],
"Address": {
"CountryCode": "GR",
"City": "Recipient's city",
"Street": "Recipient's street",
"Number": "Recipient's number",
"Postal": "Recipient's postal code"
},
"BranchCode": 0
},
"Banks": [
{
"Name": "bank",
"IBAN": "GR0000000000"
}
],
"DistributionDetails": {
"InternalDocumentId": "InternalDocumentId_12433474845",
"DeliveryDestinationDetails": {
"Address": {
"GLN": ""
}
}
},
"PaymentDetails": {
"PaymentMethods": [
{
"PaymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
"PaymentMethodTypeCode": 5,
"amount": 3548.88
}
]
},
"AdditionalDetails": {
"TransmissionMethod": "A",
"AvoidEmailGrouping": false,
"accountingDepartmentEmails": [
""
]
},
"Details": [
{
"LineNo": 1,
"Code": "289406",
"ItemCodification": "",
"Descriptions": [
"Product's specifications"
],
"CpvCode": "15511000-3",
"MeasurementUnitCodeEN": "H87",
"MeasurementUnit": "TMX",
"MeasurementUnitCode": 1,
"Quantity": 1,
"UnitPrice": 2862,
"NetTotal": 2862,
"Total": 3548.88,
"VATTotal": 686.88,
"VatCategory": "24%",
"VatCategoryCode": 1,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"ClassificationTypeCode": "E3_561_001",
"ClassificationCategoryCode": "category1_1"
}
}
],
"Summaries": {
"TotalNetAmount": 2862,
"TotalVATAmount": 686.88,
"TotalGrossValue": 3548.88
},
"VatAnalysis": [
{
"Name": "24%",
"Percentage": 24,
"VatAmount": 686.88,
"UnderlyingValue": 2862
}
],
"IsDelayedCode": 0
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://einvoice-demo.s1ecos.gr/invoice/json' \
--header 'APIKey: 389ad902-96f0-457d-8b4b-a55e0f911821' \
--header 'Content-Type: application/json' \
--data-raw '{
"IAPRSignPolicy":2,
"CurrencyCode": "EUR",
"InvoiceType": "Sales Invoice",
"InvoiceTypeCode": "1.1",
"DocumentType": "Sales Invoice",
"DocumentTypeCode": "ELB2G",
"OrderNumber": "",
"Series": "0",
"Number": "698806",
"DateIssued": "2025-03-11T13:18:12",
"B2GDetails": {
"ContractingAuthorityCode": "1007.E84501.0001",
"ContractingAuthority": "Νame of Contracting Authority",
"ContractTypeCode": "2|2018ΕΠ06600057",
"ContractReferenceCode": "20SYMV006467658"
},
"Issuer": {
"RegisteredName": "issuer'\''s name",
"BrandName": "issuer'\''s brand",
"Vat": "EL135952929",
"TaxOffice": "issuer'\''s Tax Office",
"Phones": [
"2000000000"
],
"Faxes": [
"2000000000"
],
"Address": {
"CountryCode": "GR",
"City": "issuer'\''s city",
"Street": "issuer'\''s street",
"Number": "issuer'\''s number",
"Postal": "issuer'\''s postal code"
},
"BranchCode": 0
},
"CounterParty": {
"RegisteredName": "Νame of Contracting Authority",
"BrandName": "counter party'\''s brand",
"Vat": "EL090025537",
"TaxOffice": "counter party'\''s Tax Office",
"Phones": [
"20000000"
],
"Address": {
"CountryCode": "GR",
"City": "counter party'\''s city",
"Street": "counter party'\''s street",
"Number": "counter party'\''s number",
"Postal": "counter party'\''s postal code"
},
"BranchCode": 0
},
"Recipient": {
"RegisteredName": "Recipient'\''s name",
"BrandName": "Recipient'\''s brand",
"Vat": "EL090025537",
"TaxOffice": "Recipient'\''s Tax Office",
"Phones": [
"20000000"
],
"Address": {
"CountryCode": "GR",
"City": "Recipient'\''s city",
"Street": "Recipient'\''s street",
"Number": "Recipient'\''s number",
"Postal": "Recipient'\''s postal code"
},
"BranchCode": 0
},
"Banks": [
{
"Name": "bank",
"IBAN": "GR0000000000"
}
],
"DistributionDetails": {
"InternalDocumentId": "InternalDocumentId_12433474845",
"DeliveryDestinationDetails": {
"Address": {
"GLN": ""
}
}
},
"PaymentDetails": {
"PaymentMethods": [
{
"PaymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
"PaymentMethodTypeCode": 5,
"amount": 3548.88
}
]
},
"AdditionalDetails": {
"TransmissionMethod": "A",
"AvoidEmailGrouping": false,
"accountingDepartmentEmails": [
""
]
},
"Details": [
{
"LineNo": 1,
"Code": "289406",
"ItemCodification": "",
"Descriptions": [
"Product'\''s specifications"
],
"CpvCode": "15511000-3",
"MeasurementUnitCodeEN": "H87",
"MeasurementUnit": "TMX",
"MeasurementUnitCode": 1,
"Quantity": 1,
"UnitPrice": 2862.00,
"NetTotal": 2862.00,
"Total": 3548.88,
"VATTotal": 686.88,
"VatCategory": "24%",
"VatCategoryCode": 1,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"ClassificationTypeCode": "E3_561_001",
"ClassificationCategoryCode": "category1_1"
}
}
],
"Summaries": {
"TotalNetAmount": 2862.00,
"TotalVATAmount": 686.88,
"TotalGrossValue": 3548.88
},
"VatAnalysis": [
{
"Name": "24%",
"Percentage": 24,
"VatAmount": 686.88,
"UnderlyingValue": 2862
}
],
"IsDelayedCode": 0
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-03-11 14:04:14