Getnet DocsGetnet Docs

Printing Responsibility

The Printing Responsibility feature provides the application that is using the integration with the Getnet’s Payment Application the possibility to take responsibility for printing the establishment’s and customer’s receipts. This allows the application for greater flexibility and the opportunity to add more fields to the receipt.

How to use it

To use this feature, the application must send the parameter allowPrintCurrentTransaction with the value false when using a deeplink for operations that generate receipts (such as payment, refund, or reprint).

As a result, the deeplink returns the automationSlip parameter, a JSON-formatted string containing the receipt fields.

Mandatory Rule: If the application chooses to take responsibility for printing, it MUST print at least the establishment’s receipt. Printing the customer’s receipt remains optional.

AutomationSlip object

The AutomationSlip Object is a JSON-formatted string returned by the Getnet Payment Application when the allowPrintCurrentTransaction parameter is set to false.

It contains all the necessary transaction data (such as merchant details, authorization codes, amounts, and the Getnet logo in Base64) required for the external application to generate and print its own formatted receipts.

Here is an example of the complete automationSlip object:

"automationSlip": {
  "getnetLogo": "String in base64",
  "sellerName": "Merchant Name",
  "sellerAddress": "Merchant Address",
  "cuit": "24042277580",
  "com": "0000002433",
  "aid": "A0000000000031010",
  "term": "AR00027M",
  "authorizationCode": "013415",
  "letterTypeTransaction": "C",
  "dateTime": "13/12/22 - 15:25:30",
  "cardLastDigits": "4283",
  "brand": "VISA",
  "receiptCode": "000088",
  "amount": "200",
  "tip": "100",
  "operationType": "DEBIT REFUND",
  "cardholderValidationMethod": "AUTHORIZED OR VALIDATED BY ELECTRONIC SIGNATURE",
  "callerId": "256",
  "operationResult": "0"
}

The following table describes each field in the automationSlip object:

NameTypeDescription
getnetLogostringGetnet logo formatted in a String base64.
sellerNamestringMerchant’s name.
sellerAddressstringMerchant’s address.
cuitstringUnique document code.
comstringMerchant’s seller code.
aidstringTerminal AID code.
termstringTerminal Code.
authorizationCodestringAuthorization Code for this receipt.
letterTypeTransactionstringIndicates card input technology.
dateTimestringTimestamp of the receipt in ISO8601 using UTC.
cardLastDigitsstringLast 4 digits of the Card.
brandstringCard brand.
receiptCodestringIdentification code printed on receipt.
amountstringValue in local currency.
tipstringTip amount.
operationTypestringOperation Type (e.g., DEBIT REFUND).
errorMessagestringError message if the transaction failed.
cardholderValidationMethodstringValidation method used on the transaction (e.g., electronic signature).
callerIdstringUniquely identifies and correlates with a specific deeplink request.
operationResultstringIndicates whether the transaction was approved: 0 Sale approved, 1 Sale declined, 2 QrCode approved, 3 QrCode declined, 4 Refund approved, 5 Refund declined, 6 Cancel approved, 7 Cancel declined, 8 Pre-authorization approved, 9 Pre-authorization declined.