Create a purchase order of type bank.
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
PurchaseOrderBankViewModelPaymentGatewayTransactionId ( string )
Gets or sets Transaction Id of the Payment Gateway.
http method:
POST
https://apisandbox.facturama.mx/api-lite/freshbooks/{Uuid}/purchase-orders/bank
Ejemplo de Petición
application/json, text/json
{
"TransactionType": 0,
"TransactionUuid": "eb8e1c92-b31e-434d-bab6-dcaf8bc83fdc",
"PackageUuid": "20689f44-8ff1-4e2c-8230-d1b34f177f60",
"Amount": 3.0,
"Description": "sample string 4"
}
Ejemplo de Respuesta
application/json, text/json
{
"PaymentGatewayTransactionId": "sample string 1"
}