You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Create multi-line receipt using the /fscmRestApi/resources/latest/receivingReceiptRequests REST API

Received Response
57
Views
1
Comments

Summary:

We are currently calling the receivingReceiptRequests API creating a single line receipt like this example request:

{
  "VendorId": "123456789012345",
  "Comments": "TEST",
  "EmployeeId": 123456789012345,
  "lines": [{
      "ReceiptSourceCode": "VENDOR",
      "SourceDocumentCode": "PO",
      "TransactionType": "RECEIVE",
      "AutoTransactCode": "DELIVER",
      "OrganizationCode": "US_ORG",
      "DocumentNumber": "123456",
      "DocumentLineNumber": 1,
      "ItemDescription": "Apple - MacBook Pro - 14\" - M3 Pro - 18 GB RAM - 512 GB SSD - Space Black Mfg",
      "Quantity": 1,
      "TransactionDate": "2024-01-16T21:04+00:00"
      ]
    }
  }

We would like to create a multi-line receipt that includes non-serialized items (warranty, setup fees, etc..) all on the same receipt. Do we just add these items as additional lines to the array? Something like this:

  "VendorId": "123456789012345",
  "Comments": "TEST",
  "EmployeeId": 123456789012345,
  "lines": [{
      "ReceiptSourceCode": "VENDOR",
      "SourceDocumentCode": "PO",
      "TransactionType": "RECEIVE",
      "AutoTransactCode": "DELIVER",
      "OrganizationCode": "US_ORG",
      "DocumentNumber": "123456",
      "DocumentLineNumber": 1,
      "ItemDescription": "Apple - MacBook Pro - 14\" - M3 Pro - 18 GB RAM - 512 GB SSD - Space Black Mfg",
      "Quantity": 1,
      "TransactionDate": "2024-01-16T21:04+00:00"
    }, {
      "ReceiptSourceCode": "VENDOR",
      "SourceDocumentCode": "PO",
      "TransactionType": "RECEIVE",
      "AutoTransactCode": "DELIVER",
      "OrganizationCode": "US_ORG",
      "DocumentNumber": "123456",
      "DocumentLineNumber": 1,
      "ItemDescription": "Apple warranty for macbooks",
      "Quantity": 1,
      "TransactionDate": "2024-01-16T21:04+00:00"
    }, {
      "ReceiptSourceCode": "VENDOR",
      "SourceDocumentCode": "PO",
      "TransactionType": "RECEIVE",
      "AutoTransactCode": "DELIVER",
      "OrganizationCode": "US_ORG",
      "DocumentNumber": "123456",
      "DocumentLineNumber": 1,
      "ItemDescription": "Apple - Setup Fee",
      "Quantity": 1,
      "TransactionDate": "2024-01-16T21:04+00:00"
    }
  }
  ]
  }

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!