curl --request POST \
--url https://api.lapyme.com.ar/api/v1/supplier-payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"supplier_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"point_of_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_date": "<string>",
"currency": "PES",
"total_amount": 4503599627370495,
"splits": [
{
"payment_method_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 4503599627370495,
"reference": "<string>",
"card_brand": "<string>",
"card_batch_number": "<string>",
"card_coupon_number": "<string>",
"card_installment_plan_code": "<string>",
"notes": "<string>",
"fee_amount": 4503599627370495,
"fee_percentage_applied": "<string>",
"fee_fixed_applied": 4503599627370495,
"net_amount": 4503599627370495,
"check_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"register_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"safe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"exchange_rate": 1,
"settlement_currency": "PES",
"settlement_total_amount": 4503599627370495,
"notes": "<string>",
"applications": [
{
"purchase_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"journal_line_applications": [
{
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"credit_journal_line_applications": [
{
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"credit_note_applications": [
{
"credit_purchase_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"advance_applications": [
{
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"withholdings": [
{
"type": "ganancias",
"amount": 0,
"certificate_number": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"province_id": "<string>",
"regimen": "<string>",
"rate": 123,
"calculation_base": 0
}
]
}
'{
"request_id": "<string>",
"data": {
"supplier_payment": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "supplier",
"status": "active",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_name": "<string>",
"payment_number": 0,
"formatted_payment_number": "<string>",
"payment_date": "<string>",
"currency": "PES",
"total_amount": 0,
"balance": 0,
"created_at": "2023-11-07T05:31:56Z",
"created_by_name": "<string>",
"settlement_currency": "PES",
"settlement_total_amount": 0,
"exchange_rate": "<string>",
"notes": "<string>",
"splits": [
{
"payment_method_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_method_name": "<string>",
"reference": "<string>",
"card_brand": "<string>",
"card_batch_number": "<string>",
"card_coupon_number": "<string>",
"card_installment_plan_code": "<string>",
"notes": "<string>",
"fee_amount": 0,
"fee_percentage_applied": "<string>",
"fee_fixed_applied": 0,
"net_amount": 0,
"check_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"register_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"safe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"applications": [
{
"applied_amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credit_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatted_invoice_number": "<string>",
"credit_formatted_invoice_number": "<string>",
"advance_formatted_payment_number": "<string>"
}
],
"credit_applications": [
{
"applied_amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credit_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatted_invoice_number": "<string>",
"credit_formatted_invoice_number": "<string>",
"advance_formatted_payment_number": "<string>"
}
],
"journal_line_applications": [
{
"applied_amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credit_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatted_invoice_number": "<string>",
"credit_formatted_invoice_number": "<string>",
"advance_formatted_payment_number": "<string>"
}
],
"advance_applications": [
{
"applied_amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credit_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatted_invoice_number": "<string>",
"credit_formatted_invoice_number": "<string>",
"advance_formatted_payment_number": "<string>"
}
],
"withholdings": [
{
"type": "ganancias",
"amount": 0,
"certificate_number": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"province_id": "<string>",
"regimen": "<string>",
"rate": 123,
"calculation_base": 0
}
]
},
"idempotent_replay": true
},
"warnings": [
"<unknown>"
]
}Registra un pago a proveedor con uno o más métodos de pago, aplicaciones a compras o cuenta corriente, retenciones y datos de cheque cuando corresponde.
Required scopes: purchases:write.
curl --request POST \
--url https://api.lapyme.com.ar/api/v1/supplier-payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"supplier_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"point_of_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_date": "<string>",
"currency": "PES",
"total_amount": 4503599627370495,
"splits": [
{
"payment_method_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 4503599627370495,
"reference": "<string>",
"card_brand": "<string>",
"card_batch_number": "<string>",
"card_coupon_number": "<string>",
"card_installment_plan_code": "<string>",
"notes": "<string>",
"fee_amount": 4503599627370495,
"fee_percentage_applied": "<string>",
"fee_fixed_applied": 4503599627370495,
"net_amount": 4503599627370495,
"check_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"register_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"safe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"exchange_rate": 1,
"settlement_currency": "PES",
"settlement_total_amount": 4503599627370495,
"notes": "<string>",
"applications": [
{
"purchase_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"journal_line_applications": [
{
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"credit_journal_line_applications": [
{
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"credit_note_applications": [
{
"credit_purchase_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"advance_applications": [
{
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applied_amount": 4503599627370495
}
],
"withholdings": [
{
"type": "ganancias",
"amount": 0,
"certificate_number": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"province_id": "<string>",
"regimen": "<string>",
"rate": 123,
"calculation_base": 0
}
]
}
'{
"request_id": "<string>",
"data": {
"supplier_payment": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "supplier",
"status": "active",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_name": "<string>",
"payment_number": 0,
"formatted_payment_number": "<string>",
"payment_date": "<string>",
"currency": "PES",
"total_amount": 0,
"balance": 0,
"created_at": "2023-11-07T05:31:56Z",
"created_by_name": "<string>",
"settlement_currency": "PES",
"settlement_total_amount": 0,
"exchange_rate": "<string>",
"notes": "<string>",
"splits": [
{
"payment_method_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_method_name": "<string>",
"reference": "<string>",
"card_brand": "<string>",
"card_batch_number": "<string>",
"card_coupon_number": "<string>",
"card_installment_plan_code": "<string>",
"notes": "<string>",
"fee_amount": 0,
"fee_percentage_applied": "<string>",
"fee_fixed_applied": 0,
"net_amount": 0,
"check_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"register_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"safe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"applications": [
{
"applied_amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credit_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatted_invoice_number": "<string>",
"credit_formatted_invoice_number": "<string>",
"advance_formatted_payment_number": "<string>"
}
],
"credit_applications": [
{
"applied_amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credit_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatted_invoice_number": "<string>",
"credit_formatted_invoice_number": "<string>",
"advance_formatted_payment_number": "<string>"
}
],
"journal_line_applications": [
{
"applied_amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credit_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatted_invoice_number": "<string>",
"credit_formatted_invoice_number": "<string>",
"advance_formatted_payment_number": "<string>"
}
],
"advance_applications": [
{
"applied_amount": 0,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credit_sale_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advance_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"journal_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"formatted_invoice_number": "<string>",
"credit_formatted_invoice_number": "<string>",
"advance_formatted_payment_number": "<string>"
}
],
"withholdings": [
{
"type": "ganancias",
"amount": 0,
"certificate_number": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"province_id": "<string>",
"regimen": "<string>",
"rate": 123,
"calculation_base": 0
}
]
},
"idempotent_replay": true
},
"warnings": [
"<unknown>"
]
}Documentation Index
Fetch the complete documentation index at: https://docs.lapyme.com.ar/llms.txt
Use this file to discover all available pages before exploring further.
Incluí tu API key en el header Authorization con el prefijo Bearer.
1 - 255^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$PES, DOL 0 < x <= 9007199254740991Show child attributes
x > 0PES, DOL 0 < x <= 90071992547409911000Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?