Devoluciones (Purchase returns)
Obtener lista de devoluciones

Este endpoint requiere autenticación
- GET /webapi/purchasereturns?skip=0&maxRecords=10
Respuesta Esperada:
- {
- "status":"ok",
- "data":
- [
- {
- "AccountID": null,
- "CurrencyID": null,
- "DiscountPercent": 0.0,
- "DocDate": "0001-01-01T00:00:00",
- "DocID": null,
- "ExchangeRate": 0.0,
- "ExchangeRate2": 0.0,
- "ExpenseType": null,
- "ImageFilePath": null,
- "Notes": null,
- "NotesVendor": null,
- "PaymentTerms": null,
- "PDFFilePath": null,
- "ProjectID": null,
- "RelatedID": null,
- "TaxSequence": null,
- "WarehouseID": null,
- "XMLFilePath": null,
- "Retentions":
- [
- {
- "Amount": 0.0,
- "RetentionID": "00000000-0000-0000-0000-000000000000"
- }
- ],
- "Items":
- [
- {
- "ItemID": null,
- "ItemName": null,
- "ItemSKU": null,
- "Price": 0.0,
- "PurchaseAccountCode": null,
- "PurchaseAccountID": null,
- "Quantity": 0.0,
- "TaxID": null,
- "Total": 0.0
- }
- ]
- }
- ]
- }
Agregar Devolución

Este endpoint requiere autenticación
- POST /webapi/purchasereturns
Solicitud esperada (body):
- {
- "AccountID": null,
- "CurrencyID": null,
- "DiscountPercent": 0.0,
- "DocDate": "0001-01-01T00:00:00",
- "DocID": null,
- "ExchangeRate": 0.0,
- "ExchangeRate2": 0.0,
- "ExpenseType": null,
- "ImageFilePath": null,
- "Notes": null,
- "NotesVendor": null,
- "PaymentTerms": null,
- "PDFFilePath": null,
- "ProjectID": null,
- "RelatedID": null,
- "TaxSequence": null,
- "WarehouseID": null,
- "XMLFilePath": null,
- "Retentions":
- [
- {
- "Amount": 0.0,
- "RetentionID": "00000000-0000-0000-0000-000000000000"
- }
- ],
- "Items":
- [
- {
- "ItemID": null,
- "ItemName": null,
- "ItemSKU": null,
- "Price": 0.0,
- "PurchaseAccountID": null,
- "Quantity": 0.0,
- "TaxID": null,
- "Total": 0.0
- }
- ]
- }
Respuesta Esperada:
- {
- "status":"ok",
- "data":"bde77223-a6a6-4ce9-a52a-7958a2c8365e"
- }
Editar Devolución

Este endpoint requiere autenticación
- PUT /webapi/purchasereturns
Solicitud esperada (body):
- {
- "ID": "00000000-0000-0000-0000-000000000000",
- "AccountID": null,
- "CurrencyID": null,
- "DiscountPercent": 0.0,
- "DocDate": "0001-01-01T00:00:00",
- "DocID": null,
- "ExchangeRate": 0.0,
- "ExchangeRate2": 0.0,
- "ExpenseType": null,
- "ImageFilePath": null,
- "Notes": null,
- "NotesVendor": null,
- "PaymentTerms": null,
- "PDFFilePath": null,
- "ProjectID": null,
- "RelatedID": null,
- "TaxSequence": null,
- "WarehouseID": null,
- "XMLFilePath": null,
- "Retentions":
- [
- {
- "Amount": 0.0,
- "RetentionID": "00000000-0000-0000-0000-000000000000"
- }
- ],
- "Items":
- [
- {
- "ItemID": null,
- "ItemName": null,
- "ItemSKU": null,
- "Price": 0.0,
- "PurchaseAccountID": null,
- "Quantity": 0.0,
- "TaxID": null,
- "Total": 0.0
- }
- ]
- }
Respuesta Esperada:
- {
- "status":"ok",
- "data":null
- }
Eliminar Devolución

Este endpoint requiere autenticación
- DELETE /webapi/purchasereturns?ID=a2e0b740-f036-4d47-8eb3-d64849d13a8e
Respuesta Esperada:
- {
- "status":"ok",
- "data":null
- }
Related Articles
Ordenes de compra (Purchase Orders)
Obtener lista de ordenes de compra Este endpoint requiere autenticación GET /webapi/purchaseorders?skip=0&maxRecords=10 Respuesta Esperada: { "status":"ok", "data": [ { "ID":"d40b316e-1114-4643-a04b-50ab3f2376a9", ...