Skip to content

Commit

Permalink
Merge pull request #165 from GLADIATTORXS/change-hardcoded-default-pa…
Browse files Browse the repository at this point in the history
…ymentMethod

Change hardcoded default payment method
  • Loading branch information
m-arrieta-r authored Jan 24, 2025
2 parents 9fec155 + 866d6ab commit 1897f9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@facturacr/atv-sdk",
"version": "1.2.10",
"version": "1.2.11",
"description": "Librería (SDK) de Javascript/NodeJS para acceder al API de Administración Tributaria Virtual (ATV) del Ministerio de Hacienda.",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/ATV/core/CreateDocFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class CreateDocFactory {
emitter: Person.create(document.emitter),
receiver: Person.create(document.receiver),
conditionSale: '01',
paymentMethod: '01',
paymentMethod: '04',
referenceInformation: document.referenceInfo ? ReferenceInformation.create(document.referenceInfo) : undefined,
})
}
Expand Down

0 comments on commit 1897f9a

Please sign in to comment.