Sale API Example Objects
Example objects for the Sale API
Approved Sale
Example #1
{
"eEntryType": "ManualCardPresent",
"CardType": "Aircard",
"paymentMethodNumber": "7842311829222478",
"cardExpirationDate": "10/2027",
"cvv": null,
"softwareVendor": "GenericPOS",
"invoice": {
"invoiceNbr": "INV000321",
"originalInvoiceNbr": "",
"currency": "USD",
"tailNbr": "N12345",
"invoiceDate": "2024-06-17",
"invoicetotal": 28283.20,
"notes": null,
"eFlightType": null,
"captainName": null,
"destIcao": "KMIA",
"fromIcao": "SKCL",
"isDomestic": false,
"details": [
{
"lineId": 1,
"itemCode": "1",
"VendorProductName": "JETA",
"unitOfMeasure": "usg",
"eProcessingType": "retail",
"deliveryTicketNumber": "12345",
"deliveryDate": "2024-06-17 23:55",
"qty": 9744,
"unitPrice": 2.8,
"lineTotal": 27283.20,
"postedPrice": 3.2,
"flightNbr": null,
"description": null,
"taxAndFeesBreakdown": [
{
"itemCode": "169",
"VendorProductName": "County Sales Tax",
"qty": 9744,
"unitPrice": 0.20,
"lineTotal": 1948.80,
"description": "",
"eRateType": "PerUnit",
"percent": null,
"eType": "SalesTax"
},
{
"itemCode": "182",
"VendorProductName": "Federal Excise Tax - Jet A",
"qty": 9744,
"unitPrice": 0.185,
"lineTotal": 1802.64,
"description": "",
"eRateType": "PerUnit",
"percent": null,
"eType": "CostTax"
}
]
},
{
"lineId": 2,
"itemCode": "76",
"VendorProductName": "Ground Power (GPU)",
"unitOfMeasure": "each",
"eProcessingType": "retail",
"deliveryTicketNumber": null,
"deliveryDate": null,
"deliveryTime": null,
"qty": 1,
"unitPrice": 1000,
"lineTotal": 1000,
"postedPrice": null,
"flightNbr": null,
"description": null
}
]
}
}
{
"authorizationNumber": "4997e1fd-be02-4370-b5ae-9c2b99d9c8f2",
"batchNumber": "B000725",
"transactionNumber": "T0000004340",
"approved": true,
"approvedMsg": "Approved",
"logDate": "2024-06-16T15:12:30.765548Z",
"errors": []
}
Example #2
{
"eEntryType": "ManualCardPresent",
"CardType": "Aircard",
"paymentMethodNumber": "7842311829222478",
"cardExpirationDate": "10/2027",
"cvv": null,
"softwareVendor": "GenericPOS",
"invoice": {
"invoiceNbr": "INV000323",
"originalInvoiceNbr": "",
"currency": "USD",
"tailNbr": "RR122",
"invoiceDate": "2024-06-17",
"invoicetotal": 34591.20,
"notes": null,
"eFlightType": null,
"captainName": null,
"destIcao": "KMIA",
"fromIcao": "SKCL",
"isDomestic": false,
"details": [
{
"lineId": 1,
"itemCode": "1",
"VendorProductName": "JETA",
"unitOfMeasure": "usg",
"eProcessingType": "contract",
"deliveryTicketNumber": "12345",
"deliveryDate": "2024-06-17 23:55",
"qty": 9744,
"unitPrice": 2.8,
"lineTotal": 27283.20,
"postedPrice": 3.2,
"flightNbr": null,
"description": null,
"taxAndFeesBreakdown": [
{
"itemCode": "169",
"VendorProductName": "County Sales Tax",
"qty": 9744,
"unitPrice": 0.065,
"lineTotal": 1773.40,
"description": "",
"eRateType": "Percent",
"percent": "6.5",
"eType": "SalesTax"
}
]
},
{
"lineId": 2,
"itemCode": "9",
"VendorProductName": "FSII",
"unitOfMeasure": "each",
"eProcessingType": "retail",
"deliveryTicketNumber": null,
"deliveryDate": null,
"deliveryTime": null,
"qty": 9744,
"unitPrice": 0.75,
"lineTotal": 7308,
"postedPrice": null,
"flightNbr": null,
"description": null
}
]
}
}
{
"authorizationNumber": "5345e1fd-be02-4370-b5ae-9c2b99d9c8f2",
"batchNumber": "A000725",
"transactionNumber": "T0000005354",
"approved": true,
"approvedMsg": "Approved",
"logDate": "2024-06-16T15:12:30.765548Z",
"errors": []
}
Example #3
{
"eEntryType": "ManualCardPresent",
"CardType": "Aircard",
"paymentMethodNumber": "7842311829222478",
"cardExpirationDate": "10/2027",
"cvv": null,
"softwareVendor": "GenericPOS",
"invoice": {
"invoiceNbr": "INV000322",
"originalInvoiceNbr": "",
"currency": "USD",
"tailNbr": "RR122",
"invoiceDate": "2024-06-17",
"invoicetotal": 27783.20,
"notes": null,
"eFlightType": null,
"captainName": null,
"destIcao": "KMIA",
"fromIcao": "SKCL",
"isDomestic": false,
"details": [
{
"lineId": 1,
"itemCode": "1",
"VendorProductName": "JETA",
"unitOfMeasure": "usg",
"eProcessingType": "retail",
"deliveryTicketNumber": "12345",
"deliveryDate": "2024-06-17 23:55",
"qty": 9744,
"unitPrice": 2.8,
"lineTotal": 27283.20,
"postedPrice": 3.2,
"flightNbr": null,
"description": null,
"taxAndFeesBreakdown": [
{
"itemCode": "169",
"VendorProductName": "Sales Tax",
"qty": 9744,
"unitPrice": 0.065,
"lineTotal": 1773.40,
"description": "",
"eRateType": "Percent",
"percent": 6.5,
"eType": "SalesTax"
}
]
},
{
"lineId": 2,
"itemCode": "118",
"VendorProductName": "Parking",
"unitOfMeasure": "each",
"eProcessingType": "retail",
"deliveryTicketNumber": null,
"deliveryDate": null,
"deliveryTime": null,
"qty": 1,
"unitPrice": 500,
"lineTotal": 500,
"postedPrice": null,
"flightNbr": null,
"description": null
}
]
}
}
{
"authorizationNumber": "9345e1fd-be02-4370-b5ae-9c2b99d9c8f2",
"batchNumber": "C000725",
"transactionNumber": "T0000003454",
"approved": true,
"approvedMsg": "Approved",
"logDate": "2024-06-16T15:12:30.765548Z",
"errors": []
}
Rejected Sale
{
"eEntryType": "ManualCardPresent",
"cardType": "Aircard",
"paymentMethodNumber": "70830804685231",
"cardExpirationDate": "10/2027",
"cvv": null,
"softwareVendor": null,
"invoice": {
"invoiceNbr": "INV0030",
"originalInvoiceNbr": "",
"currency": "USD",
"invoiceDate": "2022-11-03",
"invoicetotal": 1100,
"tailNbr": "N95TE",
"details": [
{
"lineId": 1,
"itemCode": "1",
"VendorProductName": "JETA",
"unitOfMeasure": "USG",
"eProcessingType": "Contract",
"deliveryTicketNumber": "12345",
"deliveryDate": "2022-11-03",
"qty": 200,
"unitPrice": 5,
"lineTotal": 1000,
"postedPrice": 1000,
"flightNbr": null,
"description": null,
"taxAndFeesBreakdown": [
{
"itemCode": "192",
"VendorProductName": "Tax",
"lineTotal": 100,
"qty": 1,
"unitPrice": 100,
"description": "",
"eRateType": "PerUnit",
"eType": "SalesTax"
}
]
},
{
"lineId": 2,
"itemCode": "76",
"VendorProductName": "Ground Power (GPU)",
"unitOfMeasure": "Each",
"eProcessingType": "Retail",
"deliveryTicketNumber": null,
"deliveryDate": null,
"qty": 1,
"unitPrice": 100,
"lineTotal": 100,
"postedPrice": 100
}
]
}
}
{
"authorizationNumber": null,
"batchNumber": null,
"transactionNumber": null,
"approved": false,
"approvedMsg": null,
"logDate": "2022-11-16T15:13:08.8629131Z",
"errors": [
{
"code": "P0003",
"message": "Duplicate invoice number.",
"canOverride": false
}
]
}
Updated 5 months ago