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
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
PurchaseOrderStoreViewModelBarcodeImageUrl ( 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
{ "TransactionType": 0, "TransactionUuid": "f5ac1c19-0050-4e6c-8fd7-9e8f9eacd5ea", "PackageUuid": "cf291a6a-39fd-4bdf-ae20-2844ece77199", "Amount": 3.0, "Description": "sample string 4" }
Ejemplo de Respuesta
application/json, text/json
{ "BarcodeImageUrl": "sample string 1", "PaymentReference": "sample string 2", "PaymentGatewayTransactionId": "sample string 3" }