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": "7ab46a0b-1743-47a0-b9ae-9a59a695b4fb",
"PackageUuid": "181ab8f1-7f48-458c-b5d0-890ac04bee7c",
"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"
}