Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Nov 01, 2019 at 08:17 AM

    Hi Andrea

    thanks, it clear now that you are using. Suggest to go for ticket in MM-IV-LIV. My colleagues will have better means to check the payload, ok?

    Thanks a lot!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 01, 2019 at 07:14 AM

    Hi

    I could collect information that under SAP_COM_0057 the Odata API API_SUPPLIERINVOICE_PROCESS_SRV doesn't support parking or change. instead the SOAP service II_IVE_SUPLRINVCERPCRTRC allows that.

    So, I suggest to open a ticket under logistics MM-IV-LIV. My colleagues will guide you better with the most update infor and please provide a bit more details on what you are using and trying to achieve.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sandra,

      thanks for the support.

      The issue is not about the parking of the invoice, which is properly made, but is about the creation of the parked incoming invoice with item with PO reference.

      Although the item seems properly edited, the invoice was created without any item reference.

      Thanks

  • Posted on Nov 01, 2019 at 07:15 AM

    Hello,

    This payload doesn't seem to look good. The fields from your payload doesn't seem to be compliant with the API characteristics. Can you please review the business documentation pertaining to the purchase order reference type for the supplier invoice item. Hopefully this should give you some direction.

    https://help.sap.com/viewer/b2405fab3b314f4ab5021b57231d553f/1908.500/en-US/b77e565e67a6480fa010c750a7ef8585.html

    Good Luck!

    Amith Nair

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.