Skip to content

Commit

Permalink
fix(netsuite): Fix netsuite payment payload specs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivannovosad committed Nov 11, 2024
1 parent 06d5433 commit 7cefc76
Showing 1 changed file with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,15 @@
'type' => 'customerpayment',
'isDynamic' => true,
'columns' => {
'customer' => integration_customer.external_customer_id
'customer' => integration_customer.external_customer_id,
'payment' => payment.amount_cents.div(100).to_f,
'autoapply' => true
},
'lines' => [
'applyTransactions' => [
{
'sublistId' => 'apply',
'lineItems' => [
{
'doc' => integration_invoice.external_id,
'apply' => true,
'amount' => payment.amount_cents.div(100).to_f
}
]
'internalId' => integration_invoice.external_id,
'apply' => true,
'amount' => payment.amount_cents.div(100).to_f
}
],
'options' => {
Expand Down

0 comments on commit 7cefc76

Please sign in to comment.