Create a Standard Receipt
Let's say a customer goes to your web store and makes a payment for a laptop, battery, and charger. The REST API imports data from the web store payment system and creates a receipt.
Example URL
Here's an example of the resource URL:
POST
fscmRestApi/resources/11.13.18.05/standardReceipts
Example Request
Here's an example of the request body in JSON format:
{
"ReceiptNumber":"SKR_Receipt_1008",
"ReceiptMethod":"Manual",
"BusinessUnit":"Vision Operations",
"Amount":"451.23",
"Currency":"USD",
"RemittanceBankAccountNumber":"10271-17621-619"
}
Example Response
Here's an example of the response body in JSON format:
{
"StandardReceiptId": 300100153164586,
"ReceiptNumber": "SKR_Receipt_1008",
"BusinessUnit": "Vision Operations",
"ReceiptMethod": "Manual",
"ReceiptDate": "2018-08-17",
"DocumentNumber": null,
"Amount": "451.23",
"Currency": "USD",
"ConversionRateType": null,
"ConversionDate": null,
"ConversionRate": null,
"State": null,
"Status": null,
"RemittanceBankName": null,
"RemittanceBankBranch": null,
"RemittanceBankAccountNumber": "10271-17621-619",
"RemittanceBankDepositDate": "2018-08-17",
"RemittanceBankAllowOverride": "N",
"CustomerName": null,
"TaxpayerIdentificationNumber": null,
"CustomerSite": null,
"CustomerAccountNumber": null,
"CustomerBank": null,
"CustomerBankBranch": null,
"CustomerBankAccountNumber": null,
"UnappliedAmount": null,
"AccountedAmount": null,
"AccountingDate": "2018-08-17",
"MaturityDate": "2018-08-17",
"PostmarkDate": null,
"ReceiptAtRisk": null,
"ReceivablesSpecialist": null,
"Comments": null,
"CreditCardTokenNumber": null,
"CreditCardAuthorizationRequestIdentifier": null,
"CardHolderFirstName": null,
"CardHolderLastName": null,
"CreditCardIssuerCode": null,
"CreditCardExpirationDate": null,
"VoiceAuthorizationCode": null,
"CreatedBy": "AR_MGR_OPERATIONS",
"CreationDate": "2018-08-17T03:41:51.002+00:00",
"LastUpdateDate": "2018-08-17T03:41:52.719+00:00",
"LastUpdatedBy": "AR_MGR_OPERATIONS",
"links": [...]
}