Integrar Cargoffer con SAP Business One
Busqueda objetivo: "integracion sap business one transporte", "conectar sap con bolsa de carga"
Endpoints para SAP
bash
# Obtener datos de contrato
curl -X GET "https://api.pro.cargoffer.com/api/auction/contract/{serviceCode}" \
-H "Authorization: Bearer *** Ver detalle cliente
curl -X GET "https://api.pro.cargoffer.com/api/address/{id}" \
-H "Authorization: Bearer <token...n
## Mapeo SAP
| Dato Cargoffer | Tabla SAP B1 |
|----------------|--------------|
| contract.amount | INV1.Price |
| client.cif | OCRD.CardCode |
| address.street | RDR12.Address |
| contract.date | OINV.DocDate |
## Servicio OData SAP
```bash
# Crear factura en SAP via OData
curl -X POST "https://tu-sap-server:50000/b1s/v1/Invoices" \
-H "Authorization: Basic *** \
-H "Content-Type: application/json" \
-d '{
"CardCode": "B12345678",
"DocDate": "2026-06-17",
"DocumentLines": [{
"ItemCode": "TRANSPORTE",
"Quantity": 1,
"UnitPrice": 1250.00
}]
}'