Skip to Content
0
Oct 31, 2019 at 02:58 AM

API Supplier Invoice – Create (A2X) park invoice with PO ref.

403 Views

Hi all,

I'm trying to create a parked incoming invoice with API Supplier Invoice – Create (A2X) with item with Purchase Order reference.

The item structure is tested as follow:

<Item>
<ID>00010</ID>
<ReceivingPlantID>2310</ReceivingPlantID> "Plant for PO item
<TypeCode>002</TypeCode> "Invoice item
<ProcessingTypeCode>B</ProcessingTypeCode> "Invoice with PO reference
<Quantity unitCode="PZ">1</Quantity>
<AlternativeQuantity unitCode="PZ">1</AlternativeQuantity>
<PriceCalculation>
<NetAmount currencyCode="EUR">10</NetAmount>
</PriceCalculation>
<PurchaseOrderReference>
<ID>4500000161</ID> "PO number"
<ItemID>10</ItemID> "PO item"
</PurchaseOrderReference>
</Item>

Although the content of the item structure seems correct, the Incoming Invoice is created without any item and only with header data.

Could you please give me support to signale where I'm doing wrong?

Thanks.

Andrea Lillo