Payment by financial document
This endpoint is deprecated.
POST
/api/RPC.common.Api.Invoice.set?token=<TOKEN>Parameters
| Field | Type | Description |
|---|---|---|
numrequired | String | Document # |
account_code | String | Account ID |
account_name | String | Account name |
amount | String | Amount |
Request example
Payment Of Invoice By Num:
{
"data" : [
{
"num" : "0000002032"
}
]
}
Payment Of Invoice By Num And Pay In Account By Code:
{
"data" : [
{
"account_code" : "013",
"num" : "0000002032"
}
]
}cURL
Payment Of Invoice By Num:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "num" : "0000002032" } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Invoice.set?token=<TOKEN>"
Payment Of Invoice By Num And Pay In Account By Code:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "account_code" : "013", "num" : "0000002032" } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Invoice.set?token=<TOKEN>"Response example