{
"processing": {
"paymentControlEnabled": true,
"manualApprovalEnabled": false,
"accountingInvoiceEnabled": false,
"showProductCodeEnabled": true
},
"distribution": {
"method": "EMAIL",
"enabled": true
},
"invoice": {
"header": {
"number": 0,
"type": null,
"date": "2019-08-24",
"dueDate": "2019-08-24",
"description": "string",
"additionalInformation": "string",
"currencyCode": "EUR",
"languageCode": "FI"
},
"references": {
"sales": "string",
"buyer": "string",
"orderNumber": "string",
"orderDate": "2019-08-24",
"agreement": "string",
"payment": "string",
"electronicPaymentCode": "string",
"creditedInvoiceNumber": 1
},
"parties": {
"sellerParty": {
"businessId": "string",
"name": "string",
"vatCode": "string",
"address": {
"street": "string",
"street2": "string",
"street3": "string",
"postalCode": "00100 (Helsinki)",
"postalDistrict": "string",
"countryCode": "string",
"countryName": "string"
},
"contact": {
"contactPerson": {
"name": "string",
"email": "user@example.com"
},
"email": "string",
"phone": "string"
},
"paymentDetails": {
"iban": "string",
"bic": "string",
"bankgiro": "string",
"postgiro": "string"
}
},
"buyerParty": {
"entityType": "string",
"name": "string",
"customerAccountId": "string",
"personalIdentityNumber": "string",
"businessId": "string",
"vatCode": "string",
"electronicInvoiceAccount": "string",
"electronicRoutingAddress": "string",
"glnNumber": "string",
"languageCode": "string",
"disableCollection": false,
"address": {
"street": "string",
"street2": "string",
"street3": "string",
"postalCode": "00100 (Helsinki)",
"postalDistrict": "string",
"countryCode": "string",
"countryName": "string"
},
"contact": {
"contactPerson": {
"name": "string",
"email": "user@example.com"
},
"email": "string",
"phone": "string"
}
},
"invoiceRecipientParty": {
"name": "string",
"businessId": "string",
"vatCode": "string",
"electronicInvoiceAccount": "string",
"electronicRoutingAddress": "string",
"glnNumber": "string",
"email": "user@example.com",
"languageCode": "string",
"address": {
"street": "string",
"street2": "string",
"street3": "string",
"postalCode": "00100 (Helsinki)",
"postalDistrict": "string",
"countryCode": "string",
"countryName": "string"
}
},
"deliveryParty": {
"name": "string",
"address": {
"street": "string",
"street2": "string",
"street3": "string",
"postalCode": "00100 (Helsinki)",
"postalDistrict": "string",
"countryCode": "string",
"countryName": "string"
}
}
},
"terms": {
"paymentTerms": {
"code": 0,
"description": "\"14 pv netto\""
},
"interest": {
"type": "REFERENCE_RATE",
"percentage": 0
}
},
"amounts": {
"netAmount": 0,
"taxAmount": 0,
"discountAmount": 0,
"roundAmount": 0,
"totalAmount": -1
},
"rows": [
{
"rowId": 0,
"rowType": "TEXT",
"text": "string",
"freeTexts": [
"string"
],
"productCode": "string",
"description": "string",
"quantity": 0,
"unitType": "KPL",
"unitPrice": 0,
"vatPercentage": 0,
"netAmount": 0,
"discountAmount": 0,
"discountPercentage": 0,
"roundAmount": 0,
"taxAmount": 0,
"totalAmount": 0,
"vatCalculationType": "NET",
"currencyCode": "EUR",
"eanCode": "string",
"serialNumber": "string",
"shippingDate": "2019-08-24",
"definitionDetails": [
{
"key": "string",
"definitionCode": "string",
"value": "string"
}
],
"accounting": {
"accountNumber": 0,
"dimensionName": "string",
"dimensionValue": "string",
"projectNumber": "string"
}
}
],
"extensions": {
"property1": "string",
"property2": "string"
},
"definitionDetails": {
"key": "string",
"definitionCode": "string",
"value": "string"
},
"attachments": {
"type": "invoiceCopy",
"method": "url",
"mimeType": "application/pdf",
"value": "string"
},
"accounting": {
"accountNumber": 0,
"dimensionName": "string",
"dimensionValue": "string",
"projectNumber": "string"
}
},
"paymentState": {
"paymentStatus": "NOTPAID",
"paymentsAmount": 0,
"outstandingAmount": 0
},
"payments": [],
"factoring": {
"paymentType": "FL",
"issueDate": "2019-08-24"
},
"collection": {
"interest": {
"accruedAmount": 0
},
"costs": {
"creditorCostsAmount": 0,
"collectionFeesAmount": 0
},
"collectionAgency": "CASH-IN"
},
"accounting": {
"accountNumber": 0,
"dimensionName": "string",
"dimensionValue": "string",
"projectNumber": "string"
}
}