Skip to content

Instantly share code, notes, and snippets.

@michalmw
Created April 9, 2018 10:01
Show Gist options
  • Save michalmw/f14cbeeb81ae8811603e9da7fdf3a7f2 to your computer and use it in GitHub Desktop.
Save michalmw/f14cbeeb81ae8811603e9da7fdf3a7f2 to your computer and use it in GitHub Desktop.
{
"id": "100000000000000001",
"buyer_id":100000001,
"seller_id":300000007,
"category": [
{
id: 1,
name: "xxx",
type: "mainCategory"
},
{
id: 2,
name: "yyy",
type: "mainCategory"
},
{
id: 3,
name: "zzz",
type: "subCategory",
},
{
id: 4444,
name: "ttt",
type: "usercategory"
},
{
id: 666,
name: "zzz",
type: "purchaseLine",
purchaseLineId: 22,
},
{
id: 7777,
name: "ttt",
type: "purchaseLine",
purchaseLineId: 22,
}
],
"category_id_1":"0",
"category_id_2":"0",
"sub_category_id_1":"0",
"sub_category_id_2":"0",
"sub_category_id_3":"0",
"buyer_category_id_1":"0",
"buyer_category_id_2":"0",
"buyer_category_id_3":"0",
"total_amount":25.0000,
"vat_amount":3.0000,
"country":"SE",
"currency":"SEK",
"date_time":"2018-03-15T07:15:24Z",
"sales_person":"Alice",
"register_display_name":"1 / 2",
"control_unit":"ERBSF123456785123",
"transaction_reference":"",
"payment_type":"Card",
"payment_method":"Personlig kod",
"card_type":"MasterCard",
"masked_card_number":"************7385",
"payment_terminal":"56489991",
"card_payment_entry_mode":"EMV",
"payment_application_identifier":"A0000000041010",
"payment_terminal_verification_results":"0000001000",
"payment_transaction_status_info":"E800",
"payment_reference_number":"435897523612",
"payment_result":"Ca1 6 000 Swe L 32453",
"vat_group_percentage_1":"12",
"vat_group_percentage_2":"",
"vat_group_percentage_3":"",
"vat_group_percentage_4":"",
"vat_group_percentage_5":"",
"vat_group_amount_1":3.0000,
"barcode_reference":"5623451239512",
"refund_flag":"",
"viewed_flag":"0",
"archived_flag":"",
"custom_reference_1":"",
"custom_reference_2":"",
"custom_reference_3":"",
"custom_reference_4":"",
"custom_reference_5":"",
"custom_reference_6":"",
"custom_reference_7":"",
"custom_reference_8":"",
"custom_reference_9":"",
"custom_reference_10":""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment