Hi,
We are currently looking for a way to create an invoice of type Down Payment, but did not find success so far.
There are two options that I've investigated :
- use standard ABSL coding such as what is described in the Repository Explorer documentation, along with this helpful thread: Generating a Customer Invoice through SDK
- use the ManageCustomerInvoiceRequestIn inbound webservice
None of them allowed me to create an actual down payment. I was able to create a standard invoice though.
When using the webservice, I tried setting the PricingProcedure to PPGDP1 or PPNDP1, but got the error "could not copy tax details and price components". There was obvisouly a discrepancy somewhere, even when setting the price component type code to 7GDP or 7NDP. (gross down payment or net down payment). Using the standard PPSTD1 with a price component of type 7PR1 was working as expected.
When using standard ABSL coding, I tried setting the InvoiceProcessingType to "CDP" instead of the recommended "CI". This resulted in an error of type "invoice processing type missing".
Please note that in both cases I only use one item without a product reference (I added General Ledger and Taxation characteristics as instructed), and only one price component with the amount of the down payment.
Does anyone here have experience making this work? There is a painful lack of documentation on this particular type of invoice. I tried reproducing the values that I read in an existing, hand-created down payment (processing type, price and tax settings, etc.) but it got me nowhere.
Thanks !