Based on the discussion here, it looks like I need to modify the PO first to define the data that will be present on the invoice that gets created. However, the vendorInvoiceNumber property is not exposed on the PO so it is not possible to do the action more than once, as second attempts will return the following error:
{ /error/: { /code/: /Application_DialogException/, /message/: /Purchase Invoice XXXXX already exists for this vendor. CorrelationId: 4e3044d5-5c8b-4d69-bc3a-8db1dc533e3f./ } }
Are you aware of the proper way to do this exclusively through the standard REST API?
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.