Skip to content

Instantly share code, notes, and snippets.

@escapeboy
Created October 20, 2023 08:32
Show Gist options
  • Save escapeboy/78d9ea9234362b67d12c811687c65589 to your computer and use it in GitHub Desktop.
Save escapeboy/78d9ea9234362b67d12c811687c65589 to your computer and use it in GitHub Desktop.
NRA UI Import structure
{
"shop": {
"eik": "",
"shopUniqueNumber": "",
"domain": "",
"orders": [
{
"orderUniqueNumber": "",
"totalDiscount": 0,
"orderDate": "",
"documentNumber": "",
"documentDate": "",
"paymentType": "Audit\\PaymentTypes\\WithoutPostPayment", //https://github.com/escapeboy/nra-audit-generator/tree/master/lib/PaymentTypes
"items": [
{
"name": "",
"quantity": 1,
"price": 0,
"vatRate": 20
}
]
}
],
"returned": [
{
"orderNumber": "",
"orderAmount": 0,
"orderDate": "",
"returnMethod": "Audit\\ReturnMethods\\Other"//https://github.com/escapeboy/nra-audit-generator/tree/master/lib/ReturnMethods
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment