Purchase Orders for F&B
1. Introduction
FnB 8.6 JSON Sample
"CurrencyCode": "EUR",
"InvoiceType": "Δελτίο Παραγγελίας Εστίασης/FNB Form 8.6",
"InvoiceTypeCode": "8.6",
"DocumentTypeCode": "INVOICE",
"Series": "FNB",
"number": 123,
"dateIssued": "2024-07-24T00:00:00",
"OrderCode": "Order 1",
"tableId": "2/20",
"issuer": {
"registeredName": "Ταβέρνα Γ.",
"vat": "EL111111111",
"taxOffice": "ΔΟΥ ΣΤ ΑΘΗΝΩΝ",
"GeneralCommercialRegistryNumber": "2154697391",
"activities": [ "Ταβέρνα" ],
"address": {
"countryCode": "GR",
"city": "Αθήνα",
"street": "Αθήνας",
"number": "32",
"postal": "15342"},
"phones":[2109929299],
"branchCode": 0,
"branch": "Κεντρικό κατάστημα" },
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"test@example.com"],
"TransmissionMethod": "A",
"AvoidEmailGrouping": false },
"DistributionDetails": {
"internalDocumentId": "c3417575595",
"salesman": "Σερβιτόρος Α1",
"content":"Άτομα 3" },
"Details": [
{ "LineNo": 1,
"code": "251320104",
"Descriptions": [
" Product " ],
"MeasurementUnitCode": 1,
"MeasurementUnit": "ΤΜΧ",
"Quantity": 100,
"UnitPrice": 1.09,
"allowancesTotal": 0.0,
"NetTotal": 109.73,
"VatCategory": "13",
"VatCategoryCode": 2,
"VATTotal": 14.27,
"Total": 124,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"noVat":true,
"IncomeClassification": {
"ClassificationTypeCode": "",
"ClassificationCategoryCode": "category1_95" }} ],
"Summaries": {
"totalAllowances": 0.0,
"TotalNetAmount": 109.73,
"TotalVATAmount": 14.27,
"TotalGrossValue": 124
},
"VatAnalysis": [
{
"Percentage": 13.0,
"VatAmount": 14.27,
"UnderlyingValue": 109.73 }],
"IsDelayedCode": 0}
FnB Return 8.6 JSON Sample
"CurrencyCode": "EUR",
"InvoiceType": "Δελτίο Παραγγελίας Εστίασης/FNB Form 8.6",
"InvoiceTypeCode": "8.6",
"DocumentTypeCode": "INVOICE",
"Series": "FNB",
"number":"123",
"dateIssued": "2024-07-01T13:33:43.845",
"OrderCode": "Order 1",
"tableId": "2/20",
"issuer": {
"registeredName": "Ταβέρνα Γ.",
"vat": "EL111111111",
"taxOffice": "ΔΟΥ ΣΤ ΑΘΗΝΩΝ",
"GeneralCommercialRegistryNumber": "2154697391",
"activities": [
"Ταβέρνα"],
"address": {
"countryCode": "GR",
"city": "Αθήνα",
"street": "Αθήνας",
"number": "32",
"postal": "15342"},
"phones": [2109929299 ],
"branchCode": 0,
"branch": "Κεντρικό κατάστημα"},
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"test@example.com"
],
"TransmissionMethod": "A",
"AvoidEmailGrouping": false
},
"DistributionDetails": {
"InternalDocumentId": "13432434",
"salesman": "Σερβιτόρος Α1",
"content": "Άτομα 3“},
"Details": [
{
"LineNo": 1,
"code": "251320104",
"Descriptions": [
" Product " ],
"MeasurementUnitCode": 1,
"MeasurementUnit": "ΤΜΧ",
"Quantity": 100,
"UnitPrice": 1.09,
"allowancesTotal": 0.0,
"NetTotal": 109.73,
"VatCategory": "13",
"VatCategoryCode": 2,
"VATTotal": 14.27,
"Total": 124,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 7,
"noVat": true,
"IncomeClassification": {
"ClassificationTypeCode": "",
"ClassificationCategoryCode": "category1_95"
}}],
"Summaries": {
"totalAllowances": 0.0,
"TotalNetAmount": 109.73,
"TotalVATAmount": 14.27,
"TotalGrossValue": 124
},
"VatAnalysis": [
{
"Percentage": 13.0,
"VatAmount": 14.27,
"UnderlyingValue": 109.73
}
],
"IsDelayedCode": 0}
Data Types of JSON Fields
Name | Type | Importance | Description |
---|---|---|---|
measurementUnit | string | Mandatory | Product’s Measurement Unit (kg, piece, etc) |
measurementUnitCode | integer | Mandatory | Product’s Measurement Unit (IAPR) |
quantity | number | Mandatory | Product Quantity |
totalNetAmount | number | Mandatory | Total Net Amount |
totalGrossValue | number | Mandatory | Total Gross Value, sum of Details Totals |
VatCategoryCode | integer | Mandatory | Vat Category Code |
RecordTypeCode | string | Mandatory | NEGATIVEVAL (7): Line contains negative values |
tableId | string | Mandatory | The ID of the table of the FnB |
noVat | boolean | Optional | Indicator of NoVat for myData. Allowed for Elise.Models.Format.EliseCore.EliseCoreDocument.InvoiceTypeCode 1.1 - 11.5. In the 8.6, in case the field is not present, the provider sends it by default as 'true' to the IAPR. |
FnB Cancel JSON Sample
"CurrencyCode": "EUR",
"InvoiceType": "Δελτίο Παραγγελίας Ακύρωσης 8.6 /FNB Cancel Form 8.6",
"InvoiceTypeCode": "8.6",
"DocumentTypeCode": "INVOICE",
"Series": "FNBC1",
"number": "5641",
"dateIssued": "2024-07-01T13:33:43.845",
"multipleConnectedMarks": [
400001930204042],
"cancelDeliveryOrders": true,
"OrderCode": "Order 1",
"tableId": "2/20",
"issuer": {
"registeredName": "Ταβέρνα Γ.",
"vat": "EL111111111",
"taxOffice": "ΔΟΥ ΣΤ ΑΘΗΝΩΝ",
"GeneralCommercialRegistryNumber": "2154697391",
"activities": [ "Ταβέρνα" ],
"address": {
"countryCode": "GR",
"city": "Αθήνα",
"street": "Αθήνας",
"number": "32",
"postal": "15342"},
"phones":[2109929299],
"branchCode": 0,
"branch": "Κεντρικό κατάστημα" },
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"test@example.com"],
"TransmissionMethod": "A",
"AvoidEmailGrouping": false },
"DistributionDetails": {
"InternalDocumentId": "251320104",
"salesman": "Σερβιτόρος Α1",
"content":"Άτομα 3" },
"Details": [
{ "LineNo": 1,
"code": "251320104",
"Descriptions": [
“Canceled Product" ],
"MeasurementUnitCode": 1,
"MeasurementUnit": "ΤΜΧ",
"Quantity": 100,
"UnitPrice": 0.0,
"allowancesTotal": 0.0,
"NetTotal": 0.0,
"VatCategory": 0,
"VatCategoryCode": 8,
"VATTotal": 0.0,
"Total": 0.0,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"ClassificationTypeCode": "",
"ClassificationCategoryCode": "category1_95" }} ],
"Summaries": {
"totalAllowances": 0.0,
"TotalNetAmount": 0.0,
"TotalVATAmount": 0.0,
"TotalGrossValue": 0.0
},
"VatAnalysis": [
{
"Percentage": 0.0,
"VatAmount": 0.0,
"UnderlyingValue": 0.0 }],
"IsDelayedCode": 0}
Data Types of JSON Fields
Name | Type | Importance | Description |
---|---|---|---|
multipleConnectedMarks | list | Mandatory | Relation to 8.6 myData documents using their Elise.Models.Format.EliseCore.EliseCoreDocument.Mark. Forbidden for Elise.Models.Format.EliseCore.EliseCoreDocument.InvoiceTypeCode 1.6, 2.4 and 5.1 |
cancelDeliveryOrders | boolean | Mandatory | Flag indicating cancellation of myData table orders |
measurementUnit | string | Optional | Product’s Measurement Unit (kg, piece, etc) |
measurementUnitCode | integer | Optional | Product’s Measurement Unit (IAPR) |
quantity | number | Mandatory | Product Quantity |
totalNetAmount | number | Mandatory | Total Net Amount |
totalGrossValue | number | Mandatory | Total Gross Value, sum of Details Totals |
VatCategoryCode | integer | Mandatory | Vat Category Code |
RecordTypeCode | string | Mandatory | NEGATIVEVAL (7): Line contains negative values |
tableId | string | Mandatory | The ID of the table of the FnB |
noVat | boolean | Optional | Indicator of NoVat for myData. Allowed for Elise.Models.Format.EliseCore.EliseCoreDocument.InvoiceTypeCode 1.1 - 11.5. In the 8.6, in case the field is not present, the provider sends it by default as 'true' to the IAPR. |
11.1 JSON Sample
"CurrencyCode": "EUR",
"InvoiceType": " ΑΠΟΔΕΙΞΗ ΛΙΑΝΙΚΗΣ ΠΩΛΗΣΗΣ",
"InvoiceTypeCode": "11.1",
"SpecialInvoiceCategory": 12,
"DocumentTypeCode": "INVOICE",
"IsDeliveryNote": false,
"Series": "ΑΛΠ",
"number": "32362",
"dateIssued": "2024-07-01T13:33:43.845",
"RelativeDocuments": ["", "" ],
"multipleConnectedMarks": [400001929492771],
"OrderCode": "101",
"issuer": {
"registeredName": "Ταβέρνα Γ.",
"vat": "EL111111111",
"taxOffice": "ΔΟΥ ΣΤ ΑΘΗΝΩΝ",
"GeneralCommercialRegistryNumber": "2154697391",
"activities": [
"Ταβέρνα"],
"address": {
"countryCode": "GR",
"city": "Αθήνα",
"street": "Αθήνας",
"number": "32",
"postal": "15342" },
"phones":[2109929299],
"branchCode": 0,
"branch": "Κεντρικό κατάστημα" },
"CounterParty": {
"RegisteredName": "ΠΕΛΑΤΗΣ ΛΙΑΝΙΚΗΣ",
"Vat": "",
"Address": {
"CountryCode": "GR",
"Municipality": "ΑΘΗΝΑ",
"City": "ΑΘΗΝΑ",
"Street": "Κηφισού",
"number": "32",
"Postal": "11000"} },
"AllowancesCharges": [],
"DistributionDetails": {
"InternalDocumentId": "42"},
"PaymentDetails": {
"PaymentMethods": [
{ "PaymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
"PaymentMethodTypeCode": 5,
"Amount": 124}]},
"AdditionalDetails": {
"AccountingDepartmentEmails": [""],
"TransmissionMethod": "A",
"AvoidEmailGrouping": false},
"Details": [ {"LineNo": 1,
"ClassificationLineNo": 1,
"Descriptions": [ "COCA COLA 330ml" ],
"MeasurementUnit": "τεμάχια",
"MeasurementUnitCode": 1,
"Quantity": 100,
"UnitPrice": 1.09,
"NetTotal": 109.73,
"VatCategory": "13",
"VatCategoryCode": 2,
"VATTotal": 14.27,
"Total": 124,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"ClassificationTypeCode": "E3_561_003",
"ClassificationCategoryCode": "category1_1" } } ],
"Summaries": { "TotalNetAmount": 109.73,
"TotalVATAmount": 14.27,
"TotalGrossValue": 124 },
"VatAnalysis": [{
"Percentage": 13.0,
"VatAmount": 14.27,
"UnderlyingValue": 109.73 } ],
"MiscellaneousData": {},
"IsDelayedCode": 1}
Data Types of JSON Fields
Name | Type | Importance | Description |
---|---|---|---|
measurementUnit | string | Mandatory | Product’s Measurement Unit (kg, piece, etc) |
measurementUnitCode | integer | Mandatory | Product’s Measurement Unit (IAPR) |
quantity | number | Mandatory | Product Quantity |
totalNetAmount | number | Mandatory | Total Net Amount |
TotalGrossValue | number | Mandatory | Total Gross Value, sum of Details Totals |
VatCategoryCode | integer | Mandatory | Vat Category Code |
“SpecialInvoiceCategory": 12 | integer | Mandatory | Indicates that the invoice is correlated to FnB purchase order |
MultipleConnectedMarks | long number | Mandatory | Ability to connect the invoice with multiple number of Marks (8.5, 8.6) |
Q&A
Modified at 2025-03-11 11:54:25