Resource: matchpayment.nv
With this resource it is possible to target sales payment to the sales invoice or sales order. Handling types for targeting are: normal, rounding, discount, partialpayment, overpayment, notargeting, collection or creditloss. The handling works same way as in the Netvisor interface.
To use the resource both sales invoice or sales order and sales payment must be found on Netvisor. Sales payment should not be targeting to the sales invoice or sales order. The targeting is made using the NetvisorKey of the sales invoice or sales order and the sales payment.
If the handling type is notargeting, the element "invoicenetvisorkey" is not mandatory. In this case a voucher is created using account of the payment method and default account of the receivable, but it is not targeted to any sales invoice.
Request:
Level | Element name | Type and length | Occurs | Description | Example |
Root | root | Aggr. | 1 | ||
1 | matchpayment | Aggr. | 1 | ||
2 | handlingtype | String | 1 | Handling type: normal, rounding, discount, partialpayment, overpayment, notargeting, collection or creditloss | rounding |
2 | paymentnetvisorkey | Numeric | 1 | Sales payment NetvisorKey | 1 |
2 | invoicenetvisorkey | Numeric | 1 | Sales invoice NetvisorKey (not mandatory if handlingtype is notargeting) | 1 |
Did you find it helpful? Yes No
Send feedback