Skip to content

Commit

Permalink
Update info-order.md
Browse files Browse the repository at this point in the history
  • Loading branch information
steininger committed Jan 22, 2020
1 parent 6887522 commit 7733437
Showing 1 changed file with 18 additions and 45 deletions.
63 changes: 18 additions & 45 deletions doc/appendix-de-kassensichv/examples/info-order.md
@@ -1,5 +1,13 @@

info-order
implicit flow

this is unsed to persist orders

same `cbReceiptReference` in multiple receiptrequest/receiptresponse (sign-calls) can be used to connect multiple actions into a business-action. each `cbReceiptReference` can only be used once within a explicit flow. this also meanse only one time start-transaction can be done with one specific `cbReceiptReference`, because it is mapped 1:1 to the ongoing transaction of the (tse).
the implicit flow uses start-transaction and finish-transaction within the same receiptrequest/receiptresponse. therefore in this case the `cbReceiptReference` has no impact on already ongoing transactions as long as there wasn't a start-transaction with same `cbReceiptReference` before.

and additional method to connect multiple actions to a ongoing business-action is to reference a previouse action by `cbPreviouseReceiptReference`.


Request
Expand Down Expand Up @@ -50,52 +58,17 @@ Response
"ftCashboxIdentification":"fiskaltrust1=tse-client-id",
"ftReceiptIdentification":"ft[queueraw-hex]#IT[tse-transaction]"


}


Request
ftSignatures[
{
"ftCashBoxID":"c094f242-91d5-4343-9c54-bce85f70d0d6",
"ftPosSystemId":"b3dc6573-96d9-e611-80f7-5065f38adae1",
"cbTerminalID":"1",
"cbReceiptReference":"10",
"cbReceiptMoment":"2019-10-25T13:48:04.323Z",
"cbChargeItems":
[{
"Quantity":1.0,
"Description":"Bier 0,5 lt",
"Amount":22.80000000000000000000000000,
"VATRate":19.0000,
"ftChargeItemCase":4919338167972134913,
"ftChargeItemCaseData":"",
"VATAmount":3.640336134453781512605042017,
"CostCenter":"1",
"ProductGroup":"Bier",
"ProductNumber":"101",
"ProductBarcode":"",
"Unit":"Liter",
"UnitQuantity":6.0000
},{
"Quantity":1.0,
"Description":"Schnitzel",
"Amount":55.20000000000000000000000000,
"VATRate":7.0000,
"ftChargeItemCase":4919338167972134914,
"ftChargeItemCaseData":"",
"VATAmount":3.61121495327102803738317757,
"CostCenter":"1",
"ProductGroup":"Speisen",
"ProductNumber":"102",
"ProductBarcode":"",
"Unit":"Stk",
"UnitQuantity":6.0000
}],
"cbPayItems":[],
// 0x4445 0000 0000 0010 (info-order) + 0000 0001 0000 0000 (implicit flow)
"ftReceiptCase":4919338172267102224,
"cbReceiptAmount":78.00,
"cbUser":"Chef"
//start-transaction-result
},
{
//finish-transaction-payload
},
{
//finish-transaction-result
}

]

}

0 comments on commit 7733437

Please sign in to comment.