Create a purchase order of type convenience store.

Parámetros URI


Uuid ( string )

Gets or sets unique business identifier (UUID).

Required

Matching regular expression pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

uuid ( string )

Atributos de la petición


TransactionType ( TransactionType )

Gets or sets payment way Bank, Store, Oxxo, Card.

Required

TransactionUuid ( globally unique identifier )

Gets or sets unique identifier defined by Freshbooks.

Required

PackageUuid ( globally unique identifier )

Gets or sets Freshbooks product identifier.

Required

Amount ( decimal number )

Gets or sets Amount in MXN currency with taxes VAT included.

Required

Range: inclusive between 0,01 and 1,79769313486232E+308

Description ( string )

Gets or sets the product description, max length 250.

Required

String length: inclusive between 1 and 250

Argumentos de respuesta

Transaction Id of the Payment Gateway and

PurchaseOrderStoreViewModel

BarcodeImageUrl ( string )

Gets or sets The URL of the Barcode.

PaymentReference ( string )

Gets or sets The PaymentReference.

PaymentGatewayTransactionId ( string )

Gets or sets Transaction Id of the Payment Gateway.

http method:

POST

https://apisandbox.facturama.mx/api-lite/freshbooks/{Uuid}/purchase-orders/store

Ejemplo de Petición

application/json, text/json

Ejemplo:
{
  "TransactionType": 0,
  "TransactionUuid": "2720a0de-a498-462f-a68d-8b940abad180",
  "PackageUuid": "eed65a2f-f257-4b0a-9385-83b096d6d177",
  "Amount": 3.0,
  "Description": "sample string 4"
}

Ejemplo de Respuesta

application/json, text/json

Ejemplo:
{
  "BarcodeImageUrl": "sample string 1",
  "PaymentReference": "sample string 2",
  "PaymentGatewayTransactionId": "sample string 3"
}