add the customsDocument fields to the GraphQL query in Wayfair\Core\Api\Services\RegisterPurchaseOrderService
add the new Wayfair\Core\Dto\General\CustomsDocument to Wayfair\Core\Dto\RegisterPurchaseOrder, link it up
attempt to add Customs Invoice to Order in Wayfair\Services\ShipmentRegisterService, only when Wayfair's registration response implies that the the Order requires the Customs Invoice.
Add support for Customs Invoices, in anticipation of Brexit rules potentailly coming into effect after 2020:
Customs invoices will show up in the
Receipts
area of an Order in Plentymarkets:Plentymarkets has instructed us to use the
UPLOADED
document type for this: https://forum.plentymarkets.com/t/can-we-upload-a-pro-forma-invoice-document/618441/3Additions
Wayfair\Core\Dto\General\CustomsDocument
moduleWayfair\Services\SaveCustomsInvoiceService
moduleModifications
customsDocument
fields to the GraphQL query inWayfair\Core\Api\Services\RegisterPurchaseOrderService
Wayfair\Core\Dto\General\CustomsDocument
toWayfair\Core\Dto\RegisterPurchaseOrder
, link it upWayfair\Services\ShipmentRegisterService
, only when Wayfair's registration response implies that the the Order requires the Customs Invoice.