Copy {
"Stackcue": {
"documentType": "SimplifiedInvoice",
"stackcueComplianceIdentifier": "7ba9b14a-a060-4e49-bc58-24af68b47a40",
"stackcueProductionIdentifier": "4721e112-6639-4ac5-a634-7aa8c3877cb4"
},
"Invoice": {
"id": "SME00061",
"issueDate": "2022-09-07",
"issueTime": "12:21:28",
"invoiceCounterValue": 101,
"actualDeliveryDate": "2022-09-07",
"paymentMeansCode": 10,
"PIHvalue": "NWZlY2ViNjZmZmM4NmYzOGQ5NTI3ODZjNmQ2OTZjNzljMmRiYzIzOWRkNGU5MWI0NjcyOWQ3M2EyN2ZiNTdlOQ==",
"referanceInvoiceID": "SMI00023",
"reasonForCreditOrDebitNote": "1Item Returned"
},
"Seller": {
"partyIdentificationId": "454634645645654",
"partyIdentificationIdType": "CRN",
"streetName": "Riyadh",
"buildingNumber": "2322",
"citySubdivisionName": "Riyad",
"cityName": "Riyadh",
"postalZone": "23333",
"companyID": "399999999900003",
"registrationName": "Jeeem IT"
},
"Customer": {
"partyIdentificationId": "2345",
"partyIdentificationIdType": "NAT",
"streetName": "Riyadh",
"buildingNumber": "1111",
"citySubdivisionName": "Riyadh",
"cityName": "Dammam",
"postalZone": "12222",
"country": "SA",
"companyID": "399999999400003",
"registrationName": "Acme Widgets LTD 2"
},
"DocumentAllowances": [
{
"allowanceReason": "Free Text for allowance",
"allowanceAmount": 1,
"taxCategoryID": "S",
"taxPercentage": 15
}
],
"DocumentCharges": [
{
"chargeReason": "Advertising",
"chargeAmount": 10,
"taxCategoryID": "S",
"taxPercentage": 15
}
],
"prePaidDocuments": [
{
"prePaymentDocumentId": "123",
"prePaymentDocumentIssueDate": "2021-07-31",
"prePaymentDocumentIssueTime": "12:28:17",
"prePaymentCategoryAmount": {
"S": 2,
"E": 0,
"Z": 0,
"O": 0
}
},
{
"prePaymentDocumentId": "124",
"prePaymentDocumentIssueDate": "2021-07-31",
"prePaymentDocumentIssueTime": "12:28:17",
"prePaymentCategoryAmount": {
"S": 1,
"E": 0,
"Z": 0,
"O": 0
}
}
],
"Lineitems": [
{
"lineID": 1,
"invoicedQuantity": 1,
"invoicedQuantityUnit": "Pce",
"baseQuantity": 1000,
"currency": "SAR",
"name": "Juice",
"categoriesCode": "S",
"vatPercentage": 15,
"grossAmount": 10,
"priceAllowanceReason": "FREETEXT",
"priceAllowanceAmount": 1,
"lineAllowanceMethod": "percentage",
"itemlineAllowance_UNE_Reason": "Discount",
"lineAllowanceAmount": 1,
"lineAllowancePercentage": 10,
"baseAmountForLineAllowance": 11,
"lineChargeMethod": "percentage",
"itemlineCharge_UNE_Reason": "Advertising",
"lineChargeAmount": 1,
"lineChargePercentage": 10,
"baseAmountForLineCharge": 11
}
]
}